Re: Re: installing PEAR on php4-ze2 - bus error

From: Date: Thu, 07 Nov 2002 07:20:59 +0000
Subject: Re: Re: installing PEAR on php4-ze2 - bus error
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10525@lists.php.net to get a copy of this message
Hi, Are you able to reproduce this with a shorter script? Maybe just concatenating to an undefined member variable? - Stig On Sun, 2002-11-03 at 13:11, Brad Bulger wrote: > > On Tue, 29 Oct 2002, Brad Bulger wrote: > > > > > trying to do a 'make install' on the latest CVS build of php4-ze2, > > on OS X 10.1, install-pear dies with a bus error. it looks like it's dying in > > the XML parsing routines. > > it turns out that a small change in PEAR/Common.php made this stop, > though it's not clear why. there's a ZE2 bug under here, most likely. > i'm attaching a diff of the change. > > ---- > > Index: Common.php > =================================================================== > RCS file: /repository/php4/pear/PEAR/Common.php,v > retrieving revision 1.80 > diff -u -r1.80 Common.php > --- Common.php 12 Oct 2002 00:39:49 -0000 1.80 > +++ Common.php 3 Nov 2002 12:20:59 -0000 > @@ -667,7 +667,7 @@ > function _pkginfo_cdata_1_0($xp, $data) > { > if (isset($this->cdata)) { > - $this->cdata .= $data; > + $this->cdata = $this->cdata . $data; > } > } > > ---- > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway http://pear.php.net/wishlist.php/ssb

« previous php.pear.dev (#10525) next »