diff options
| author | Ron Yorston <rmy@pobox.com> | 2023-01-17 14:42:42 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2023-01-17 14:42:42 +0000 |
| commit | dbd187697d1265d345e3e3e8b302a88b04592cc2 (patch) | |
| tree | 5b9983ad607193c06c7862a80bba1f83ec46be12 /scripts/basic/docproc.c | |
| parent | 88965fe20a26e17247e6ffc10692fe202d77f1fa (diff) | |
| download | busybox-w32-dbd187697d1265d345e3e3e8b302a88b04592cc2.tar.gz busybox-w32-dbd187697d1265d345e3e3e8b302a88b04592cc2.tar.bz2 busybox-w32-dbd187697d1265d345e3e3e8b302a88b04592cc2.zip | |
win32: minor improvements to stat(2)
Commit b11352dcb (win32: prevent stat(2) from updating access times)
requested GENERIC_ALL access when opening files. It appears that
GENERIC_READ is sufficient and also faster.
The code to find the actual size of compressed or sparse files only
needs to be invoked for regular files. Avoiding unnecessary calls
to GetCompressedFileSize() makes stat(2) slightly faster and gives
a more accurate number of blocks for symbolic links.
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions
