mirror of
https://github.com/php/php-src.git
synced 2026-03-28 10:12:18 +01:00
Merge branch 'PHP-5.5'
This commit is contained in:
@@ -34,7 +34,6 @@ extern zend_module_entry phar_module_entry;
|
||||
#define PHP_PHAR_API PHPAPI
|
||||
#endif
|
||||
|
||||
#define PHAR_HAVE_RESOLVE_ALIAS
|
||||
PHP_PHAR_API int phar_resolve_alias(char *alias, int alias_len, char **filename, int *filename_len TSRMLS_DC);
|
||||
|
||||
#endif /* PHP_PHAR_H */
|
||||
|
||||
@@ -932,9 +932,9 @@ PHP_PHAR_API int phar_resolve_alias(char *alias, int alias_len, char **filename,
|
||||
if (SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, (void**)&fd_ptr)) {
|
||||
*filename = (*fd_ptr)->fname;
|
||||
*filename_len = (*fd_ptr)->fname_len;
|
||||
return 1;
|
||||
return SUCCESS;
|
||||
}
|
||||
return 0;
|
||||
return FAILURE;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user