Browse Source

php4 building fix

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@16 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.1
Xuefer 15 years ago
parent
commit
0a07de22d0
  1. 4
      coverage.c

4
coverage.c

@ -55,7 +55,11 @@ void xcache_mkdirs_ex(char *root, int rootlen, char *path, int pathlen TSRMLS_DC
#ifdef DEBUG
fprintf(stderr, "mkdir %s\n", fullpath);
#endif
#if PHP_MAJAR_VERSION > 5
php_stream_mkdir(fullpath, 0700, REPORT_ERRORS, NULL);
#else
mkdir(fullpath, 0700);
#endif
}
free_alloca(fullpath);
}

Loading…
Cancel
Save