aboutsummaryrefslogtreecommitdiff
path: root/toys/toylist.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-10-31 01:13:36 -0500
committerRob Landley <rob@landley.net>2007-10-31 01:13:36 -0500
commit8ae467cdd0d90bed82ee7561e9be5bfbbc9952e1 (patch)
treee404fe0cb7727d2487df95f2b888388ae768046a /toys/toylist.h
parent503d0f5b52fe2eafd6523ce785d6c9f73b46329b (diff)
downloadtoybox-8ae467cdd0d90bed82ee7561e9be5bfbbc9952e1.tar.gz
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).
Diffstat (limited to 'toys/toylist.h')
-rw-r--r--toys/toylist.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/toys/toylist.h b/toys/toylist.h
index 3c3b316a..b717c93b 100644
--- a/toys/toylist.h
+++ b/toys/toylist.h
@@ -55,7 +55,6 @@ struct sleep_data {
struct touch_data {
char *ref_file;
char *time;
- long length;
};
struct toysh_data {
@@ -111,7 +110,7 @@ USE_READLINK(NEWTOY(readlink, "<1f", TOYFLAG_BIN))
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))