Date: Fri, 1 Oct 2004 20:34:41 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: =?iso-8859-2?Q?S=B3awek_=AFak?= <zaks@prioris.mini.pw.edu.pl> Cc: freebsd-current@freebsd.org Subject: Re: Bug in #! processing Message-ID: <20041001183441.GA9550@darkness.comp.waw.pl> In-Reply-To: <86u0tfx4st.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> <86mzz8x8zv.fsf@thirst.unx.era.pl> <20040930122154.GS2493@submonkey.net> <86u0tfx4st.fsf@thirst.unx.era.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
--WeyQLTZFbZxVv3E0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 30, 2004 at 03:30:26PM +0200, S=B3awek =AFak wrote: +> >> I like the bahavior of FreeBSD besides special +> >> treatment of # on the first line after #!. Allowing for comments = on the +> >> first line is a strange excuse. Have you ever seen a script comme= nting on +> >> the interpreter execution or had a need to do so? +> > +> > No, but since this has been possible in FreeBSD for over 4.5 years, you +> > can guarantee that someone is using it. +>=20 +> What do you think of sysctl named say kern.exec_hash_compat (set to = 1 by +> default) or kernel option (also set to old behavior) to `fix' the si= tuation? Adding sysctl to control this behaviour is the best we can get, IMHO. I can commit this, with default value which keeps the current behvaiour, but I don't like this name. We should find a name which starts at 'compat.'. Any suggestions? compat.unix.exec_hash? --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --WeyQLTZFbZxVv3E0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBXaNBForvXbEpPzQRAhbaAJwI5l/HYY1peOF5iFQXPNqki3rZSgCfc/of sAMhMhdV9nU3Y9+FJmwVYG4= =4g8s -----END PGP SIGNATURE----- --WeyQLTZFbZxVv3E0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041001183441.GA9550>