Re: Crypt_RC4

From: Date: Tue, 05 Apr 2005 06:51:10 +0000
Subject: Re: Crypt_RC4
References: 1 2 3 4 5  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-2687@lists.php.net to get a copy of this message
Philippe Jausions wrote:
Helgi Þormar wrote:
On Mon, 2005-04-04 at 05:05 +0000, Helgi Þormar wrote:
Or he can make a RC4.php ... move all the code in there and make Rc4.php include RC4.php to keep BC ? :) I see no side effects on a quick glance anyway.
Uhm, I forgot about winblows :/ So it won't work :(
Unless you package the tarball to include the RC4.php *after* the Rc4.php so it overwrites it... Would have to be tested though... but maybe prone to error for next packaging if this kind of stuff is overlooked.
There are two simple solutions: package.xml 1.0 (requires PEAR 1.3.3 and newer): <file name="RC4.php" role="php" platform="!windows"/> <file name="Rc4.php" role="php" platform="windows"/> package.xml 2.0: <file name="RC4.php" role="php"/> <file name="Rc4.php" role="php"/> and then in the release section: <phprelease> <installconditions> <os>windows</os> </installconditions> <ignore name="RC4.php"/> </phprelease> <phprelease/> <!-- for the rest of them --> Greg

« previous php.pear.qa (#2687) next »