From owner-freebsd-arch@FreeBSD.ORG Fri Jun 10 10:48:32 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 CE22816A41C; Fri, 10 Jun 2005 10:48:32 +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 3103B43D62; Fri, 10 Jun 2005 10:48:30 +0000 (GMT) (envelope-from neuhauser@sigpipe.cz) Received: by isis.sigpipe.cz (Postfix, from userid 1001) id 7CC601F87BEE; Fri, 10 Jun 2005 12:48:29 +0200 (CEST) Date: Fri, 10 Jun 2005 12:48:29 +0200 From: Roman Neuhauser To: Florent Thoumie Message-ID: <20050610104829.GA80719@isis.sigpipe.cz> Mail-Followup-To: Florent Thoumie , 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 10:48:32 -0000 # flz@xbsd.org / 2005-06-10 10:06:46 +0200: > On Jun 10, 2005, at 8:24 AM, Roman Neuhauser wrote: > ># gad@FreeBSD.org / 2005-06-09 12:37:20 -0400: > >>and now php is being started with: > >> > >> [0] -> /usr/local/bin/php > >> [1] -> -n -q -dsafe_mode=0 -doutput_buffering=1 > >> [2] -> /usr/local/bin/name-of-script > >> [3...] -> parameters specified by user > >> > >>Assuming 'php' does not know what to do when all those options are > >>glommed together in a single argument, then the above script would > >>not work right on any other operating systems either. The change > >>I made on the 28th gets FreeBSD to work more like other OS's when > >>it comes to parsing that #!-line in scripts. > > > > 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. > > FreeBSD needed special handling, no it doesn't anymore. > > I'm not sure that's losing a *competitive* advantage. The previous behavior in FreeBSD allowed me to use things on the shebang line that weren't possible in e. g. Linux, and I enjoyed it, because it saved me from various hacks. Aiming for the lowest common denominator means losing useful features. One reason to prefer FreeBSD less. -- 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