Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 13:28:57 +0200
From:      Roman Neuhauser <neuhauser@sigpipe.cz>
To:        Dag-Erling Sm?rgrav <des@des.no>
Cc:        freebsd-arch@FreeBSD.org, "Matthew D. Fuller" <fullermd@over-yonder.net>, freebsd-ports@FreeBSD.org, Garance A Drosehn <gad@FreeBSD.org>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Bug in #! processing - "pear broken on current"
Message-ID:  <20050610112857.GB80719@isis.sigpipe.cz>
In-Reply-To: <86fyvq3c4o.fsf@xps.des.no>
References:  <200506090027.j590R2t0070899@repoman.freebsd.org> <20050609003619.GA10578@xor.obsecurity.org> <20050609100815.GB16677@over-yonder.net> <p06210258bece1422da20@[128.113.24.47]> <20050609160316.GC16677@over-yonder.net> <p06210259bece1ae26f44@[128.113.24.47]> <20050610062431.GA78875@isis.sigpipe.cz> <86fyvq3c4o.fsf@xps.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
# des@des.no / 2005-06-10 09:27:19 +0200:
> Roman Neuhauser <neuhauser@sigpipe.cz> writes:
> > The pear people have hacked around the other OS's limitations.
> >
> > This change makes FreeBSD lose one small but fine competitive
> > advantage over other unix-like systems. Pity.
> 
> Huh?
> 
> Here's what pear looks like on Debian:
> #!/usr/bin/php4 -Cq
> 
> SuSE uses a shell wrapper which ends in
> exec $PHP -C -q $INCARG -d output_buffering=1 $INCDIR/pearcmd.php "$@"
> 
> Fedora has a similar shell wrapper:
> exec $PHP -C -q $INCARG -d output_buffering=1 $INCDIR/pearcmd.php "$@"
> 
> so we're certainly not the only ones who need to modify pear.
> 
> Take a look at this:
> 
> des@cat ~% uname -a
> Linux cat 2.6.8-24.14-default #1 Tue Mar 29 09:27:43 UTC 2005 i686 athlon i386 GNU/Linux

    That simply shows that all these *Linux* distros don't handle
    shebang lines well.

-- 
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



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