From owner-freebsd-current@FreeBSD.ORG Fri Oct 1 18:34:43 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8018316A4CE for ; Fri, 1 Oct 2004 18:34:43 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12E1743D48 for ; Fri, 1 Oct 2004 18:34:43 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 1BD1DACC68; Fri, 1 Oct 2004 20:34:41 +0200 (CEST) Date: Fri, 1 Oct 2004 20:34:41 +0200 From: Pawel Jakub Dawidek To: =?iso-8859-2?Q?S=B3awek_=AFak?= Message-ID: <20041001183441.GA9550@darkness.comp.waw.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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WeyQLTZFbZxVv3E0" Content-Disposition: inline In-Reply-To: <86u0tfx4st.fsf@thirst.unx.era.pl> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: Ceri Davies cc: freebsd-current@freebsd.org Subject: Re: Bug in #! processing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2004 18:34:43 -0000 --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--