aboutsummaryrefslogtreecommitdiff
path: root/toys/touch.c
AgeCommit message (Collapse)Author
2007-11-30Minor cleanups/tweaks to touch.Rob Landley
2007-11-29Change command main() functions to return void, and exit(toys.exitval) fromRob Landley
the toybox infrastructure instead. Eliminates a return call from each command.
2007-11-15Simplify touch -l slightly.Rob Landley
2007-11-10Add an option to let touch extend or truncate a file and rename the err ↵Charlie Shepherd
label to time_error to reduce confusion.
2007-11-10Don't error on stat success, and create files with a sensible mode instead ↵Charlie Shepherd
of 000
2007-11-10Use builtin functions to simplify some code in touchCharlie Shepherd
2007-10-31Patch from Charlie Shepherd: Implement touch, set the default in Config.in toRob Landley
y, and remove the length argument (and all talk of changing the length of files).
2007-06-18Add a dummy "touch" to make it all build again.Rob Landley