fixed a bug in svn.c
This commit is contained in:
parent
4cbf9d0dc9
commit
06f3ca4e81
@ -1096,6 +1096,7 @@ PHP_FUNCTION(svn_ls)
|
|||||||
#if defined(APR_MAJOR_VERSION) && ((APR_MAJOR_VERSION >= 2) || (APR_MAJOR_VERSION == 1 && APR_MINOR_VERSION >= 5))
|
#if defined(APR_MAJOR_VERSION) && ((APR_MAJOR_VERSION >= 2) || (APR_MAJOR_VERSION == 1 && APR_MINOR_VERSION >= 5))
|
||||||
array_init(return_value);
|
array_init(return_value);
|
||||||
|
|
||||||
|
|
||||||
for (hi = apr_hash_first(subpool, dirents); hi; hi = apr_hash_next(hi)) {
|
for (hi = apr_hash_first(subpool, dirents); hi; hi = apr_hash_next(hi)) {
|
||||||
const char *utf8_entryname;
|
const char *utf8_entryname;
|
||||||
svn_dirent_t *dirent;
|
svn_dirent_t *dirent;
|
||||||
@ -1105,7 +1106,6 @@ PHP_FUNCTION(svn_ls)
|
|||||||
apr_size_t size;
|
apr_size_t size;
|
||||||
char timestr[20];
|
char timestr[20];
|
||||||
const char *utf8_timestr;
|
const char *utf8_timestr;
|
||||||
apr_hash_index_t *hi;
|
|
||||||
zval *row;
|
zval *row;
|
||||||
#if defined(PHP_MAJOR_VERSION) && (PHP_MAJOR_VERSION >= 7)
|
#if defined(PHP_MAJOR_VERSION) && (PHP_MAJOR_VERSION >= 7)
|
||||||
zval actual_row;
|
zval actual_row;
|
||||||
|
Loading…
Reference in New Issue
Block a user