diff options
author | Ron Yorston <rmy@pobox.com> | 2019-03-04 08:10:24 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2019-03-04 08:10:24 +0000 |
commit | 7c9be982c7758c477cd2735ed3784f3eee67a78e (patch) | |
tree | c4c0928b9db5a5e6d05d25f04d8ef281869aa16b /runit | |
parent | b7e469eac680e5e1fe998198dbd2dbad8782eb34 (diff) | |
download | busybox-w32-7c9be982c7758c477cd2735ed3784f3eee67a78e.tar.gz busybox-w32-7c9be982c7758c477cd2735ed3784f3eee67a78e.tar.bz2 busybox-w32-7c9be982c7758c477cd2735ed3784f3eee67a78e.zip |
win32: simplify utimes(2) implementation
SetFileTime only needs FILE_WRITE_ATTRIBUTES access, not full
read/write access. Therefore it isn't necessary to change the
permissions of read-only files.
The flag FILE_FLAG_BACKUP_SEMANTICS is required to access directories
but does no harm if used on a file.
As a result there's no need to get file attributes.
Diffstat (limited to 'runit')
0 files changed, 0 insertions, 0 deletions