touch -t broken?
walt
wa1ter at myrealbox.com
Sat Sep 4 17:13:15 PDT 2004
On Sun, 5 Sep 2004, YONETANI Tomokazu wrote:
On Sat, Sep 04, 2004 at 11:45:35AM -0700, walt wrote:
touch -t seems to fail no matter what date/time I give it.
Please try this:
Index: usr.bin/touch/touch.c
===================================================================
RCS file: /home/source/dragonfly/cvs/src/usr.bin/touch/touch.c,v
retrieving revision 1.4
diff -u -r1.4 touch.c
--- usr.bin/touch/touch.c 15 Aug 2004 15:06:58 -0000 1.4
+++ usr.bin/touch/touch.c 4 Sep 2004 22:47:34 -0000
@@ -233,7 +233,7 @@
goto failed;
tvp[0].tv_usec = tvp[1].tv_usec = 0;
-
+ return;
failed:
errx(1, "out of range or illegal time specification: [[CC]YY]MMDDhhmm[.SS]");
}
Yes, thank you, that fixed it!
More information about the Bugs
mailing list