commit | 36b6eb775f8913dbb6ded4fe05a8bfd5e0130a38 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Apr 06 14:44:45 2017 -0700 |
committer | Rob Landley <rob@landley.net> | Tue Apr 11 12:25:13 2017 -0500 |
tree | 79ed4f9df1327db4a88bb7f5706a47d47b4a14bc | |
parent | 0956d16785fd8df1a57d8bf063cddd5b5c1ec221 [diff] |
Fix touch -a/-m (and add the missing tests). utimensat takes atime in [0] and mtime in [1], but since we're overwriting with UTIME_OMIT, we actually want to flip the comparison so -a blats 1 and -m blats 0.