summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2007-07-04 13:28:52 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit22247afc032e0c860a7e68b7ab65bb6e0f82ed3a (patch)
tree928af8db1b47c87783a94e012bc937352efdd524
parent208f09df74c4ead2fb6bd794d438b2b8b56a30de (diff)
downloadphp-pear-PEAR-22247afc032e0c860a7e68b7ab65bb6e0f82ed3a.zip
php-pear-PEAR-22247afc032e0c860a7e68b7ab65bb6e0f82ed3a.tar.gz
- strict mode fix
Changed files: php-pear-PEAR-strict.patch -> 1.1
-rw-r--r--php-pear-PEAR-strict.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/php-pear-PEAR-strict.patch b/php-pear-PEAR-strict.patch
new file mode 100644
index 0000000..89708a1
--- /dev/null
+++ b/php-pear-PEAR-strict.patch
@@ -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;
+ }
+ }