fixed svn_ls
This commit is contained in:
parent
c47afbd90d
commit
4cbf9d0dc9
@ -1110,9 +1110,17 @@ PHP_FUNCTION(svn_ls)
|
|||||||
#if defined(PHP_MAJOR_VERSION) && (PHP_MAJOR_VERSION >= 7)
|
#if defined(PHP_MAJOR_VERSION) && (PHP_MAJOR_VERSION >= 7)
|
||||||
zval actual_row;
|
zval actual_row;
|
||||||
#endif
|
#endif
|
||||||
|
const void* key;
|
||||||
|
void* val;
|
||||||
|
|
||||||
svn_utf_cstring_to_utf8 (&utf8_entryname, apr_hash_this_key(hi), subpool);
|
apr_hash_this(hi, &key, NULL, &val);
|
||||||
dirent = apr_hash_this_val(hi);
|
err = svn_utf_cstring_to_utf8 (&utf8_entryname, key, subpool);
|
||||||
|
if (err) {
|
||||||
|
php_svn_handle_error(err TSRMLS_CC);
|
||||||
|
RETVAL_FALSE;
|
||||||
|
goto cleanup;
|
||||||
|
}
|
||||||
|
dirent = val;
|
||||||
|
|
||||||
/* svn_time_to_human_cstring gives us something *way* too long
|
/* svn_time_to_human_cstring gives us something *way* too long
|
||||||
to use for this, so we have to roll our own. We include
|
to use for this, so we have to roll our own. We include
|
||||||
|
Loading…
Reference in New Issue
Block a user