1
0
mirror of https://github.com/php/php-src.git synced 2026-04-16 20:41:18 +02:00

oops, can't use that macro here

This commit is contained in:
Rasmus Lerdorf
2011-05-16 17:26:10 +00:00
parent 575ea1ef0b
commit c5152b886b

View File

@@ -1614,9 +1614,9 @@ NEWLINE ("\r"|"\n"|"\r\n")
if (strcmp(dirname, ".") == 0) {
dirname = erealloc(dirname, MAXPATHLEN);
#if HAVE_GETCWD
php_ignore_value(VCWD_GETCWD(dirname, MAXPATHLEN));
VCWD_GETCWD(dirname, MAXPATHLEN);
#elif HAVE_GETWD
php_ignore_value(VCWD_GETWD(dirname));
VCWD_GETWD(dirname);
#endif
}