summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/vasniprintf.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-08-01 14:46:09 +0000
committerCorinna Vinschen <corinna@vinschen.de>2007-08-01 14:46:09 +0000
commit8884a1682ad6f67fa3473a3e0405ea2898e01863 (patch)
treec0cf39c46fe878ce32bdd8c48fd3eaac9f461525 /newlib/libc/stdio/vasniprintf.c
parente9ff75192a61741d7f0b3c61e04a7648b195aed5 (diff)
downloadcygnal-8884a1682ad6f67fa3473a3e0405ea2898e01863.tar.gz
cygnal-8884a1682ad6f67fa3473a3e0405ea2898e01863.tar.bz2
cygnal-8884a1682ad6f67fa3473a3e0405ea2898e01863.zip
* ntdll.h (STATUS_ACCESS_DENIED): Define.
* syscalls.cc (check_dir_not_empty): New static function. (unlink_nt): Move code checking for non-empty dir to check_dir_not_empty and call check_dir_not_empty instead. (rename): Add fault handler. Check oldpath and newpath for trailing . and .. path components and return EINVAL if so. Check oldpath for being on a vrtual file system. If renaming a dir fails with STATUS_ACCESS_DENIED, check if the target dir is non-empty and return ENOTEMPTY if so.
Diffstat (limited to 'newlib/libc/stdio/vasniprintf.c')
0 files changed, 0 insertions, 0 deletions