Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: Perl PL14 fails io.fs test on Pyramid Message-ID: <7414@jpl-devvax.JPL.NASA.GOV> Date: 14 Mar 90 19:01:47 GMT References: <1990Mar13.152201.19477@utgard.uucp> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 21 In article <1990Mar13.152201.19477@utgard.uucp> chris@utgard.uucp (Chris Anderson) writes: : Subject line says it all. I just compiled PL14 on our : Pyramid 9825, OSx 4.4c (ucb universe), and after running : 'make test', perl had failed on test "0". First problem : that we've had with the standard test stuff. : : After running perldb on io.fs, I narrowed it down to: : : printf "1..22\n"; : : $wd = `pwd`; This is actually the same bug as the HP's have been reporting. I found the problem--the patch that looked for VAR=value on the front of commands to force interpretation by the shell left variable s pointing into the middle of the string. (This is in do_exec().) Unfortunately, the allocation of the argv right after that presumes that s is pointing to the end of the string. Patch 15, which I will put out immediately, will move the 3 new lines back before the matacharacter scanner. Larry