Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2004 05:48:10 -0700
From:      "David G. Lawrence" <dg@dglawrence.com>
To:        S?awek ?ak <zaks@prioris.mini.pw.edu.pl>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Bug in #! processing
Message-ID:  <20040930124810.GA17792@nexus.dglawrence.com>
In-Reply-To: <86is9wx8qp.fsf@thirst.unx.era.pl>
References:  <861xgm5ltz.fsf@thirst.unx.era.pl> <20040928194853.GT2493@submonkey.net> <86k6ud2t6t.fsf@thirst.unx.era.pl> <20040929131136.GA2493@submonkey.net> <415AB9BF.1070003@gamersimpact.com> <86is9wx8qp.fsf@thirst.unx.era.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
>     What circular reference? Could you elaborate? The algorithm goes like this:
> 
>     1. skip all space till #!

   The #! is required to be in the first two bytes of the file, so there
can't be any spaces before it. I wrote the code you guys are talking about,
although I had nothing to do with the commit in rev 1.21. I don't have an
opinion on that other than it's been this way in FreeBSD for a long time
and I share Ceri's concern that changing it will affect some people.

-DG

David G. Lawrence
President
Download Technologies, Inc. - http://www.downloadtech.com - (866) 399 8500
TeraSolutions, Inc. - http://www.terasolutions.com - (888) 346 7175
The FreeBSD Project - http://www.freebsd.org
Pave the road of life with opportunities.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040930124810.GA17792>