Date: 09/11/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6625 Updated: htmlspecialchars should escape "'" character"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6219 Updated: PQendcopy /PQputline missing"
- Next in thread: Sascha Schumann: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 / acinclude.m4"
- Reply: Sascha Schumann: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 / acinclude.m4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
SS>> main() {
SS>> DIR *dir;
SS>> - struct dirent entry, *pentry;
SS>> + char entry[sizeof(struct dirent)+257];
SS>> + struct dirent *pentry = (struct dirent *) &entry;
SS>>
SS>> dir = opendir("/");
SS>> if (!dir)
Actually, I wanted to do something different - make configure to check for
that NULL case and drop the HAVE_POSIX flag if NULL case doesn't work. I'm
attaching the patch that does it - please check it. The only problem is
that #undef HAVE_POSIX_READDIR_R doesn't really work - configure turns it
back to #define. Maybe I have to undefine it in configure itself?
-- Stanislav Malyshev stas <email protected> http://www.zend.com/ +972-3-6139665 ext.106
- TEXT/PLAIN attachment: readdir.patch
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6625 Updated: htmlspecialchars should escape "'" character"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6219 Updated: PQendcopy /PQputline missing"
- Next in thread: Sascha Schumann: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 / acinclude.m4"
- Reply: Sascha Schumann: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 / acinclude.m4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

