SOURCES: php-pear-PEAR-strict.patch (NEW) - strict mode fix

glen glen at pld-linux.org
Wed Jul 4 15:28:57 CEST 2007


Author: glen                         Date: Wed Jul  4 13:28:57 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- strict mode fix

---- Files affected:
SOURCES:
   php-pear-PEAR-strict.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/php-pear-PEAR-strict.patch
diff -u /dev/null SOURCES/php-pear-PEAR-strict.patch:1.1
--- /dev/null	Wed Jul  4 15:28:57 2007
+++ SOURCES/php-pear-PEAR-strict.patch	Wed Jul  4 15:28:52 2007
@@ -0,0 +1,15 @@
+--- /usr/share/pear/PEAR.php~	2007-07-04 01:22:17.000000000 +0300
++++ /usr/share/pear/PEAR.php	2007-07-04 16:25:12.627146755 +0300
+@@ -566,10 +566,10 @@
+             $ec = 'PEAR_Error';
+         }
+         if ($skipmsg) {
+-            $a = &new $ec($code, $mode, $options, $userinfo);
++            $a = new $ec($code, $mode, $options, $userinfo);
+             return $a;
+         } else {
+-            $a = &new $ec($message, $code, $mode, $options, $userinfo);
++            $a = new $ec($message, $code, $mode, $options, $userinfo);
+             return $a;
+         }
+     }
================================================================


More information about the pld-cvs-commit mailing list