aboutsummaryrefslogtreecommitdiff
path: root/toys/touch.c
AgeCommit message (Collapse)Author
2008-01-20Zap toylist.h, moving contents of global structures into DEFINE_GLOBALS()Rob Landley
macros in each C file, and making generated/globals.h from that. Rename "toy" to "this" along the way to avoid toy/toys confusion.
2008-01-19Move NEWTOY() list from end of toylist.h to generated/newtoys.h.Rob Landley
2008-01-19Zap toys/Config.in and instead create generated/Config.in from contents ofRob Landley
toys/*.c. Move relevant info into comment at the top of each toys/*.c. Also convert more of Makefile into a thin wrapper around shell scripts that actually do the work. (Makefile is only still there for the user interface.)
2007-12-28Make touch work reliably when file doesn't exist and clean up headers a bit.Rob Landley
2007-12-11Update links and add some more spec comments.Rob Landley
2007-12-03Add comments about SUSv3 specs (or lack thereof).Rob Landley
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