aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/touch.c
AgeCommit message (Expand)Author
2019-03-26Make touch use xparsedate() (result: -t and -d the same, autodetects format),Rob Landley
2018-12-04Add FLAG(x) macro, expanding to (toys.optflags & FLAG_##x)Rob Landley
2018-12-04Clean up some --help formatting.Elliott Hughes
2018-11-13touch: ignore -f like everyone else.Elliott Hughes
2018-08-25Convert more argument variables in GLOBALS() to new style.Rob Landley
2017-04-11Fix touch -a/-m (and add the missing tests).Elliott Hughes
2016-10-20Add special "touch -" behavior and require an argument.Rob Landley
2016-10-19More touch tests, and a fix found by one. (The three -t formats can onlyRob Landley
2016-10-18Unify touch -t and -d handling, allow posix's underspecified "time designator"Rob Landley
2016-08-01Fix touch(1) date parsing on tzcode-derived systems.Elliott Hughes
2016-04-21Fix touch -t seconds parsingDavis Mosenkovs
2015-07-04Actually set time with touch -d and -t when you don't specify nanonseconds.Rob Landley
2015-05-31Move the magic list of commands needing cleanup from toys/pending/READMERob Landley
2015-02-08Rewrite of a patch from Elliott Hughes to implement touch -h and switch API t...Rob Landley
2015-01-14Make touch -d miliseconds work. (Still only 6 digits precision instead of 9, ...Rob Landley
2014-10-01Bugfix from Ashwini Sharma: Z timezone required by posix for touch but not fo...Rob Landley
2014-09-17Minor cleanup pass on touch.Rob Landley
2013-09-09Minor cleanups.Rob Landley
2013-09-09Don't write a zero past end of toybuf with large -d value.Rob Landley
2013-08-18Fix usage: lines for a couple commands.Rob Landley
2013-01-02Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out o...Rob Landley
2012-11-25Update touch: add remaining posix arguments, make existing ones work.Rob Landley
2012-11-16More touch cleanup to use generic infrastructure: use getdate() from libc, us...Rob Landley
2012-11-16Fix touch warnings (unused variables, failure to reserve space for null termi...Rob Landley
2012-11-16Refactor touch (cleanup whitespace, brackets, function order), code otherwise...Rob Landley
2012-11-16Add touch from Choubey Ji.Rob Landley