Re: Bug in #! processing - "pear broken on current"
From: Roman Neuhauser (neuhauser_at_sigpipe.cz)
Date: 06/13/05
- Previous message: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- In reply to: Dag-Erling Smørgrav: "Re: Bug in #! processing - "pear broken on current""
- Next in thread: Garance A Drosihn: "Re: Bug in #! processing - "pear broken on current""
- Reply: Garance A Drosihn: "Re: Bug in #! processing - "pear broken on current""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 13 Jun 2005 11:08:08 +0200 To: Dag-Erling Sm?rgrav <des@des.no>
# des@des.no / 2005-06-10 14:19:09 +0200:
> Roman Neuhauser <neuhauser@sigpipe.cz> writes:
> > That simply shows that all these *Linux* distros don't handle
> > shebang lines well.
>
> Actually, it shows that they handle shebang lines *correctly*, and
> that we don't unilaterally break Pear by aligning ourselves with them.
These two were identical before:
#!/usr/local/bin/php -n -q -dsafe_mode=0 -doutput_buffering=1
% /usr/local/bin/php -n -q -dsafe_mode=0 -doutput_buffering=1
These two are identical now:
#!/usr/local/bin/php -n -q -dsafe_mode=0 -doutput_buffering=1
% /usr/local/bin/php "-n -q -dsafe_mode=0 -doutput_buffering=1"
Obviously, "correct" is whatever behavior we declare as such.
But is the latter actually useful? The Linux distros you shown
hacking around the shebang parsing limitations (forking another
shell to achieve the correct parsing) shows just that: Linux distros
basically avoiding anything above the simplest "#!/bin/sh".
-- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- In reply to: Dag-Erling Smørgrav: "Re: Bug in #! processing - "pear broken on current""
- Next in thread: Garance A Drosihn: "Re: Bug in #! processing - "pear broken on current""
- Reply: Garance A Drosihn: "Re: Bug in #! processing - "pear broken on current""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]