Re: [PHP-DEV] PHP 4.0 Bug #9933 Updated: readdir doesn't work see Bug ID # 9058

2001-04-27 Thread Andi Gutmans
At 12:34 PM 4/27/2001 +0200, Sascha Schumann wrote: On Fri, 27 Apr 2001, Andi Gutmans wrote: Larry, You are right if this code refers to the POSIX semantics of readdir_r. However, this code is in #if defined(HAVE_OLD_READDIR_R) and I don't know what is meant by old readdir_r (different

Re: [PHP-DEV] PHP 4.0 Bug #9933 Updated: readdir doesn't work see Bug ID # 9058

2001-04-27 Thread Sascha Schumann
So what does that mean? The code is OK there and it isn't reached on systems where readdir_r returns 0 for success? I'm not quite sure what to do with this bug report. We either need to differentiate between Solaris and HPUX readdir_r or ignore the return value of that system call, as

Re: [PHP-DEV] PHP 4.0 Bug #9933 Updated: readdir doesn't work see Bug ID # 9058

2001-04-27 Thread Andi Gutmans
Larry, You are right if this code refers to the POSIX semantics of readdir_r. However, this code is in #if defined(HAVE_OLD_READDIR_R) and I don't know what is meant by old readdir_r (different semantics?). Sascha? Can you shed some light on this? Andi At 06:23 AM 4/27/2001 +, [EMAIL