mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-09 11:20:30 +00:00
utimesat: stop zipos case from interfering with futimens operation
This commit is contained in:
parent
133c693650
commit
6435b09267
1 changed files with 3 additions and 2 deletions
|
@ -62,8 +62,9 @@ int utimensat(int dirfd, const char *path, const struct timespec ts[2],
|
||||||
rc = einval(); // unsupported flag
|
rc = einval(); // unsupported flag
|
||||||
} else if (!path && flags) {
|
} else if (!path && flags) {
|
||||||
rc = einval(); // futimens() doesn't take flags
|
rc = einval(); // futimens() doesn't take flags
|
||||||
} else if (weaken(__zipos_notat) && (rc = __zipos_notat(dirfd, path)) == -1) {
|
} else if ((path || __isfdkind(dirfd, kFdZip)) && weaken(__zipos_notat) &&
|
||||||
STRACE("zipos mkdirat not supported yet");
|
(rc = __zipos_notat(dirfd, path)) == -1) {
|
||||||
|
STRACE("zipos utimensat not supported yet");
|
||||||
} else if (!IsWindows()) {
|
} else if (!IsWindows()) {
|
||||||
rc = sys_utimensat(dirfd, path, ts, flags);
|
rc = sys_utimensat(dirfd, path, ts, flags);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue