Mercurial > hg > toybox
diff toys/toylist.h @ 147:ec6e13b2495d
Patch from Charlie Shepherd: Implement touch, set the default in Config.in to
y, and remove the length argument (and all talk of changing the length of
files).
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 31 Oct 2007 01:13:36 -0500 |
parents | 99e651512aa4 |
children | 714f4c051594 |
line wrap: on
line diff
--- a/toys/toylist.h Fri Oct 19 19:12:48 2007 -0500 +++ b/toys/toylist.h Wed Oct 31 01:13:36 2007 -0500 @@ -55,7 +55,6 @@ struct touch_data { char *ref_file; char *time; - long length; }; struct toysh_data { @@ -111,7 +110,7 @@ USE_TOYSH(OLDTOY(sh, toysh, "c:i", TOYFLAG_BIN)) USE_SLEEP(NEWTOY(sleep, "<1", TOYFLAG_BIN)) USE_SYNC(NEWTOY(sync, NULL, TOYFLAG_BIN)) -USE_TOUCH(NEWTOY(touch, "l#t:r:mca", TOYFLAG_BIN)) +USE_TOUCH(NEWTOY(touch, "t:r:mca", TOYFLAG_BIN)) USE_TOYSH(NEWTOY(toysh, "c:i", TOYFLAG_BIN)) USE_TRUE(NEWTOY(true, NULL, TOYFLAG_BIN)) USE_WHICH(NEWTOY(which, "a", TOYFLAG_USR|TOYFLAG_BIN))