Latest patch to php_scandir:
http://cvs.php.net/viewvc.cgi/php-src/main/php_scandir.c?r1=1.12.2.1&r2=1.12.2.1.2.1
Seems to break windows build in two places:
main\php_scandir.c(65) : error C2065: 'MAXPATHLEN' : undeclared identifier
main\php_scandir.c(65) : error C2057: expected constant expression
main\php_scandir.c(65) : error C2466: cannot allocate an array of
constant size 0
main\php_scandir.c(65) : error C2133: 'entry' : unknown size
main\php_scandir.c(76) : warning C4013: 'php_readdir_r' undefined;
assuming extern returning int
main\php_scandir.c(76) : warning C4047: '=' : 'dirent *' differs in
levels of indirection from 'int'
I'll try to fix it.
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/
Stas,
Frank already has a patch for this that should be committed shortly.
Latest patch to php_scandir:
http://cvs.php.net/viewvc.cgi/php-src/main/php_scandir.c?
r1=1.12.2.1&r2=1.12.2.1.2.1Seems to break windows build in two places:
main\php_scandir.c(65) : error C2065: 'MAXPATHLEN' : undeclared
identifier
main\php_scandir.c(65) : error C2057: expected constant expression
main\php_scandir.c(65) : error C2466: cannot allocate an array of
constant size 0
main\php_scandir.c(65) : error C2133: 'entry' : unknown size
main\php_scandir.c(76) : warning C4013: 'php_readdir_r' undefined;
assuming extern returning int
main\php_scandir.c(76) : warning C4047: '=' : 'dirent *' differs in
levels of indirection from 'int'I'll try to fix it.
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/--
Ilia Alshanetsky