aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-01-04 07:59:49 +0000
committerRon Yorston <rmy@pobox.com>2024-01-04 07:59:49 +0000
commit0bbb4f442b862190fbddc4603f786787ba5a09f0 (patch)
tree6f20a55154a41005fc43ba49fc1c074eb6651d2b /TODO
parent9197a9ef026e3d57d291f05ea6f91956d152d116 (diff)
downloadbusybox-w32-0bbb4f442b862190fbddc4603f786787ba5a09f0.tar.gz
busybox-w32-0bbb4f442b862190fbddc4603f786787ba5a09f0.tar.bz2
busybox-w32-0bbb4f442b862190fbddc4603f786787ba5a09f0.zip
win32: fix detection of directories in stat(2)
The implementation of stat(2) detected whether a pathname ending with a directory separator was valid by checking for the error code ERROR_INVALID_NAME when GetFileAttributesExA() failed. This works if the path refers to an actual disk but not if it's on a share. In the latter case the glob '*/' incorrectly returned files that weren't directories. Add code to handle this case. Costs 16-32 bytes. (GitHub issue #381)
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions