Re: Bug in #! processing - "pear broken on current"

From: Roman Neuhauser (neuhauser_at_sigpipe.cz)
Date: 06/10/05

  • Next message: Garance A Drosihn: "Re: Change the executing of a 0-byte file to be an error..."
    Date: Fri, 10 Jun 2005 13:28:57 +0200
    To: Dag-Erling Sm?rgrav <des@des.no>
    
    

    # 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
    _______________________________________________
    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"
    

  • Next message: Garance A Drosihn: "Re: Change the executing of a 0-byte file to be an error..."

    Relevant Pages