]> git.pld-linux.org Git - packages/php4.git/commitdiff
- don't warn about problems with opening /var/run/php since in our setup php won...
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 7 Aug 2009 07:35:10 +0000 (07:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php4-silent-session-cleanup.patch -> 1.1
    php4.spec -> 1.642

php4-silent-session-cleanup.patch [new file with mode: 0644]
php4.spec

diff --git a/php4-silent-session-cleanup.patch b/php4-silent-session-cleanup.patch
new file mode 100644 (file)
index 0000000..d29c56c
--- /dev/null
@@ -0,0 +1,10 @@
+--- php-4.4.9/ext/session/mod_files.c~ 2007-12-31 08:22:51.000000000 +0100
++++ php-4.4.9/ext/session/mod_files.c  2009-08-07 09:33:31.242380636 +0200
+@@ -189,7 +189,6 @@
+       dir = opendir(dirname);
+       if (!dir) {
+-              php_error_docref(NULL TSRMLS_CC, E_NOTICE, "ps_files_cleanup_dir: opendir(%s) failed: %s (%d)\n", dirname, strerror(errno), errno);
+               return (0);
+       }
index b86198bd019dfce64a9623705f58705e97a86969..305f568aadae5f6793b0884303d9d69f6593eef7 100644 (file)
--- a/php4.spec
+++ b/php4.spec
@@ -145,6 +145,7 @@ Patch49:    %{name}-ac.patch
 Patch50:       %{name}-mime_magic.patch
 Patch51:       %{name}-tds.patch
 Patch52:       %{name}-lib64.patch
+Patch53:       %{name}-silent-session-cleanup.patch
 URL:           http://www.php.net/
 %{?with_interbase:%{!?with_interbase_inst:BuildRequires:       Firebird-devel >= 1.0.2.908-2}}
 %{?with_pspell:BuildRequires:  aspell-devel >= 2:0.50.0}
@@ -1616,6 +1617,7 @@ cp php.ini-dist php.ini
 %if "%{_lib}" == "lib64"
 %patch52 -p1
 %endif
+%patch53 -p1
 
 %if %{with hardening}
 zcat %{SOURCE8} | patch -p1
This page took 0.13283 seconds and 4 git commands to generate.