summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/linux/linuxthreads/mutex.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-11-07 10:03:30 +0000
committerCorinna Vinschen <corinna@vinschen.de>2011-11-07 10:03:30 +0000
commit28fa2a72f810670a0562ea061461552840f5eb70 (patch)
tree44fda327bc4e2d35a19bb2a01e3dd8f40281306b /newlib/libc/sys/linux/linuxthreads/mutex.c
parentf6ba9446edf3bd60867a96d545e23f36fd06f7f4 (diff)
downloadcygnal-28fa2a72f810670a0562ea061461552840f5eb70.tar.gz
cygnal-28fa2a72f810670a0562ea061461552840f5eb70.tar.bz2
cygnal-28fa2a72f810670a0562ea061461552840f5eb70.zip
* syscalls.cc (check_dir_not_empty): Check surplus directory entries
by calling NtQueryAttributesFile. Make STATUS_DIRECTORY_NOT_EMPTY return value dependent on its status code. Add long comment to explain. (unlink_nt): Add comment to explain flaw in checking the sharing mode. Set status to STATUS_SUCCESS instead of 0. Add a retry loop to setting the delete disposition and trying to move a directory to bin to workaround rare cases of lingering, already deleted subdirectory entries. Add long comment to explain. (rename): Set status to STATUS_SUCCESS instead of 0.
Diffstat (limited to 'newlib/libc/sys/linux/linuxthreads/mutex.c')
0 files changed, 0 insertions, 0 deletions