From owner-freebsd-arch@FreeBSD.ORG Fri Jun 10 11:28:59 2005 Return-Path: X-Original-To: freebsd-arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52BAA16A41C; Fri, 10 Jun 2005 11:28:59 +0000 (GMT) (envelope-from neuhauser@sigpipe.cz) Received: from isis.sigpipe.cz (fw.sigpipe.cz [62.245.70.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id E63A543D1F; Fri, 10 Jun 2005 11:28:58 +0000 (GMT) (envelope-from neuhauser@sigpipe.cz) Received: by isis.sigpipe.cz (Postfix, from userid 1001) id DDFAA1F87BED; Fri, 10 Jun 2005 13:28:57 +0200 (CEST) Date: Fri, 10 Jun 2005 13:28:57 +0200 From: Roman Neuhauser To: Dag-Erling Sm?rgrav Message-ID: <20050610112857.GB80719@isis.sigpipe.cz> Mail-Followup-To: Dag-Erling Sm?rgrav , Garance A Drosehn , Kris Kennaway , freebsd-ports@FreeBSD.org, "Matthew D. Fuller" , freebsd-arch@FreeBSD.org References: <200506090027.j590R2t0070899@repoman.freebsd.org> <20050609003619.GA10578@xor.obsecurity.org> <20050609100815.GB16677@over-yonder.net> <20050609160316.GC16677@over-yonder.net> <20050610062431.GA78875@isis.sigpipe.cz> <86fyvq3c4o.fsf@xps.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86fyvq3c4o.fsf@xps.des.no> User-Agent: Mutt/1.5.9i Cc: freebsd-arch@FreeBSD.org, "Matthew D. Fuller" , freebsd-ports@FreeBSD.org, Garance A Drosehn , Kris Kennaway Subject: Re: Bug in #! processing - "pear broken on current" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 11:28:59 -0000 # des@des.no / 2005-06-10 09:27:19 +0200: > Roman Neuhauser 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