Ticket #2531: operations.cpp.patch
File operations.cpp.patch, 410 bytes (added by , 14 years ago) |
---|
-
libs/filesystem/src/operations.cpp
583 583 // rmdir() or unlink() as indicated. 584 584 // Same bug also reported for QNX, with the same fix. 585 585 int err = ::unlink( p ); 586 if ( err != EPERM )586 if ( err == 0 || errno != EPERM ) 587 587 return err; 588 588 return ::rmdir( p ); 589 589 # else