Re: call for help

From: Date: Mon, 14 Feb 2005 18:29:14 +0000
Subject: Re: call for help
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-36194@lists.php.net to get a copy of this message
Hi Greg, It's perhaps idiot, but better idiot as nothing
                   $filelist[$i++] = $tfile;
                   if (!isset($atts['md5sum'])) {
                       $this->_packagefile->setFileAttribute($fname, 'md5sum', md5_file($file), $i);
                   }
Is it not
                   $filelist[$i] = $tfile;
                   if (!isset($atts['md5sum'])) {
                       $this->_packagefile->setFileAttribute($fname, 'md5sum', md5_file($file), $i++);
                   }
what you want (just increment $i after ?) -- bertrand Gugger (toggg) Greg Beaver wrote: > Hi, > > I've got a pernicious bug in PEAR 1.4.0a1 and cannot find the problem. > Basically, the md5_file() call in the "pear package" command stores a > different md5 from the md5 retrieved on install, but I can't find any > differences between the files. This only happens with packages that > have a package.xml version 2, as far as I can tell. > > What this means is that I have no frickin idea how to fix this and > can't release PEAR until I fix it. Any ideas for finding the > mother****ing bug and killing it would be appreciated. > > Greg >

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