commit | 2e5f1281ed4c5f16b9510263ecd05a3755de052f | [log] [tgz] |
---|---|---|
author | Michael Forney <mforney@mforney.org> | Fri Jul 08 10:24:13 2016 -0700 |
committer | sin <sin@2f30.org> | Sat Jul 09 10:17:16 2016 +0100 |
tree | a8662a612d76c1c20cb0e7382f7f20babf5b2288 | |
parent | 36a0a6cd9201ff6e04f4040d0302c90ea3ee6c5d [diff] |
touch: Use special UTIME_NOW and UTIME_OMIT values This allows users to touch files they have write access to, but aren't the owner. Also, remove utime.h include (not necessary since 4132561c1729df9440a6ae2566a0cccadcccf860), and make sure to check the return value of localtime (potentially preventing a NULL pointer derefence).