diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-01-29 11:20:06 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-01-29 11:20:06 +0000 |
commit | 3432d6f1f766adc1b8c14af4cc63b6ae25399ada (patch) | |
tree | 0ae12368f834b1259f58b1ca888be542baceb51f /newlib/libc/stdlib/wcstombs_r.c | |
parent | 3d635c060e417ac929152832d4d3010f656fd9ec (diff) | |
download | cygnal-3432d6f1f766adc1b8c14af4cc63b6ae25399ada.tar.gz cygnal-3432d6f1f766adc1b8c14af4cc63b6ae25399ada.tar.bz2 cygnal-3432d6f1f766adc1b8c14af4cc63b6ae25399ada.zip |
Throughout, use FileBothDirectoryInformation info class rather than
FileDirectoryInformation info class to avoid problems with incomplete
filesystem implementations. Fix comments accordingly.
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Set
fname->Length to 0 in error case to avoid potential crash in debug
output.
(fhandler_disk_file::readdir): Try to speed up the working default case.
Check for STATUS_INVALID_NETWORK_RESPONSE as potential status value
returned by filesystems not implementing FileIdBothDirectoryInformation.
* ntdll.h (STATUS_INVALID_NETWORK_RESPONSE): Define.
(FILE_BOTH_DIRECTORY_INFORMATION): Rename to official name.
* path.cc (symlink_info::check): Don't request FILE_READ_EA access, it's
not required for NFS. Try to speed up the working default case. Check
for STATUS_INVALID_NETWORK_RESPONSE as potential status value returned
by filesystems not supporting non-NULL EA parameters. Fix the way
fs.update is called. Improve debug output.
Diffstat (limited to 'newlib/libc/stdlib/wcstombs_r.c')
0 files changed, 0 insertions, 0 deletions