- PECL Bug #8676, addFile was not updated and still used VCWD_REALPATH,

it now uses expand_filepath
This commit is contained in:
Pierre Joye 2006-09-12 12:02:49 +00:00
parent 7800711d34
commit bb2d53e768

View File

@ -996,7 +996,7 @@ ZIPARCHIVE_METHOD(addFile)
RETURN_FALSE;
}
if (!VCWD_REALPATH(filename, resolved_path)) {
if (!expand_filepath(filename, resolved_path TSRMLS_CC)) {
RETURN_FALSE;
}