]> git.pld-linux.org Git - packages/php.git/blob - php-5.3.6-bug-53603.patch
use /usr/sbin/php-fpm as other branches
[packages/php.git] / php-5.3.6-bug-53603.patch
1 --- PHP_5_3/ext/zip/php_zip.c   2010/12/24 19:31:38     306626
2 +++ PHP_5_3/ext/zip/php_zip.c   2010/12/24 22:38:36     306627
3 @@ -196,7 +196,7 @@
4         }
5  
6         /* let see if the path already exists */
7 -       if (php_stream_stat_path(file_dirname_fullpath, &ssb) < 0) {
8 +       if (php_stream_stat_path_ex(file_dirname_fullpath, PHP_STREAM_URL_STAT_QUIET, &ssb, NULL) < 0) {
9  
10  #if defined(PHP_WIN32) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 1)
11                 char *e;
12 @@ -2378,7 +2378,7 @@
13                 RETURN_FALSE;
14         }
15  
16 -       if (php_stream_stat_path(pathto, &ssb) < 0) {
17 +       if (php_stream_stat_path_ex(pathto, PHP_STREAM_URL_STAT_QUIET, &ssb, NULL) < 0) {
18                 ret = php_stream_mkdir(pathto, 0777,  PHP_STREAM_MKDIR_RECURSIVE, NULL);
19                 if (!ret) {
20                         RETURN_FALSE;
This page took 0.026046 seconds and 3 git commands to generate.