X-Git-Url: https://git.tld-linux.org/?p=packages%2Fphp.git;a=blobdiff_plain;f=php-silent-session-cleanup.patch;h=2fdf68eb6910cd45e181522d375ae22eef04d234;hp=583373633bc3d92a700b0dc72105ae6620257587;hb=HEAD;hpb=47130bb86ff82df6ba9ec83597ffeacabc1d888a diff --git a/php-silent-session-cleanup.patch b/php-silent-session-cleanup.patch index 5833736..0d37d8d 100644 --- a/php-silent-session-cleanup.patch +++ b/php-silent-session-cleanup.patch @@ -1,10 +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 @@ +--- php-8.2.5/ext/session/mod_files.c.orig 2023-04-24 11:42:37.515845438 +0200 ++++ php-8.2.5/ext/session/mod_files.c 2023-04-24 11:45:46.013854719 +0200 +@@ -287,7 +287,6 @@ - dir = opendir(dirname); + dir = opendir(ZSTR_VAL(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); +- php_error_docref(NULL, E_NOTICE, "ps_files_cleanup_dir: opendir(%s) failed: %s (%d)", ZSTR_VAL(dirname), strerror(errno), errno); + return -1; }