packages: php/php.spec, php/php-silent-session-cleanup.patch (NEW) - don't ...

arekm arekm at pld-linux.org
Fri Aug 7 08:45:21 CEST 2009


Author: arekm                        Date: Fri Aug  7 06:45:21 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- don't warn about problems with opening /var/run/php since in our setup php won't be able to open it (tmpwatch does session celaning)

---- Files affected:
packages/php:
   php.spec (1.810 -> 1.811) , php-silent-session-cleanup.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php/php.spec
diff -u packages/php/php.spec:1.810 packages/php/php.spec:1.811
--- packages/php/php.spec:1.810	Mon Jul 13 22:40:21 2009
+++ packages/php/php.spec	Fri Aug  7 08:45:15 2009
@@ -120,6 +120,7 @@
 Patch24:	%{name}-builddir.patch
 Patch25:	%{name}-zlib-for-getimagesize.patch
 Patch29:	%{name}-config-dir.patch
+Patch30:	%{name}-silent-session-cleanup.patch
 Patch31:	%{name}-fcgi-graceful.patch
 Patch38:	%{name}-tds.patch
 Patch43:	%{name}-use-prog_sendmail.patch
@@ -1616,6 +1617,7 @@
 %patch25 -p1
 
 %patch29 -p1
+%patch30 -p1
 %patch31 -p1
 %patch38 -p1
 
@@ -2721,6 +2723,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.811  2009/08/07 06:45:15  arekm
+- don't warn about problems with opening /var/run/php since in our setup php won't be able to open it (tmpwatch does session celaning)
+
 Revision 1.810  2009/07/13 20:40:21  arekm
 - visibility hidden was most likely cause of the build fauilure; revert libstdc++ commit
 

================================================================
Index: packages/php/php-silent-session-cleanup.patch
diff -u /dev/null packages/php/php-silent-session-cleanup.patch:1.1
--- /dev/null	Fri Aug  7 08:45:21 2009
+++ packages/php/php-silent-session-cleanup.patch	Fri Aug  7 08:45:15 2009
@@ -0,0 +1,10 @@
+--- php-5.3.0/ext/session/mod_files.c~	2009-05-18 18:10:09.000000000 +0200
++++ php-5.3.0/ext/session/mod_files.c	2009-08-07 08:41:53.029357590 +0200
+@@ -217,7 +217,6 @@
+ 
+ 	dir = opendir(dirname);
+ 	if (!dir) {
+-		php_error_docref(NULL TSRMLS_CC, E_NOTICE, "ps_files_cleanup_dir: opendir(%s) failed: %s (%d)", dirname, strerror(errno), errno);
+ 		return (0);
+ 	}
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php/php.spec?r1=1.810&r2=1.811&f=u



More information about the pld-cvs-commit mailing list