diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 04:46:42 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 04:46:42 +0000 |
commit | 41a3f31c07957aeb51d74ad022cd7fcbf75dda48 (patch) | |
tree | 5dbbb5fd7edc0e5025ee19f52aea2a52fee72b1c /toys/posix/touch.c | |
parent | a38a71b5f293449b0fe81d54fb914ea423e958b8 (diff) | |
parent | 9323773b0b13f0b51f0874572a4a87ce40855934 (diff) | |
download | toybox-aml_ase_341113000.tar.gz |
Snap for 10453563 from 9323773b0b13f0b51f0874572a4a87ce40855934 to mainline-appsearch-releaseaml_ase_341810000aml_ase_341510000aml_ase_341410000aml_ase_341310010aml_ase_341113000aml_ase_340913000android14-mainline-appsearch-releaseaml_ase_341810000
Change-Id: I5831df133387ea0f70575ef4e58f50d13a5ed8ed
Diffstat (limited to 'toys/posix/touch.c')
-rw-r--r-- | toys/posix/touch.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/toys/posix/touch.c b/toys/posix/touch.c index 5e33d7f7..e687ff81 100644 --- a/toys/posix/touch.c +++ b/toys/posix/touch.c @@ -71,7 +71,6 @@ void touch_main(void) if (!strcmp(s, "-")) { if (!futimens(1, ts)) continue; } else { - // cheat: FLAG_h is rightmost flag, so its value is 1 if (!utimensat(AT_FDCWD, s, ts, FLAG(h)*AT_SYMLINK_NOFOLLOW)) continue; if (FLAG(c)) continue; if (access(s, F_OK) && (-1!=(fd = open(s, O_CREAT, 0666)))) { |