Ticket #1578: operations.cpp.patch
File operations.cpp.patch, 534 bytes (added by , 15 years ago) |
---|
-
operations.cpp
old new 1217 1217 && (_POSIX_THREAD_SAFE_FUNCTIONS+0 >= 0) \ 1218 1218 && (!defined(__HP_aCC) || (defined(__HP_aCC) && defined(_REENTRANT))) 1219 1219 if ( ::sysconf( _SC_THREAD_SAFE_FUNCTIONS ) >= 0 ) 1220 { return ::readdir_r( dirp, entry, result ); }1220 { if(::readdir_r( dirp, entry, result )==NULL) return errno; else return 0; } 1221 1221 # endif 1222 1222 1223 1223 struct dirent * p;