aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-06-06 22:17:43 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-06-06 22:17:43 +0000
commitf5c0e1c92580769d4acfb58524709e3bad78439f (patch)
tree77c7d455511aa7d5fff2ce0bb16a7f019b822b34
parent9f10b9b9b4867aeace4a6ce30d211e556135f2e4 (diff)
downloadbusybox-w32-f5c0e1c92580769d4acfb58524709e3bad78439f.tar.gz
busybox-w32-f5c0e1c92580769d4acfb58524709e3bad78439f.tar.bz2
busybox-w32-f5c0e1c92580769d4acfb58524709e3bad78439f.zip
Fix 'date -u'
-Erik git-svn-id: svn://busybox.net/trunk/busybox@624 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--TODO2
-rw-r--r--coreutils/date.c2
-rw-r--r--date.c2
3 files changed, 2 insertions, 4 deletions
diff --git a/TODO b/TODO
index e6c9cfd8f..182408b75 100644
--- a/TODO
+++ b/TODO
@@ -22,8 +22,6 @@ Bugs that need fixing before the 0.44 release goes out the door:
22 - 'grep foo$ file' doesn't work 22 - 'grep foo$ file' doesn't work
23 - 'grep *foo file' segfaults 23 - 'grep *foo file' segfaults
24 - ps dirent race bug (need to stat the file before attempting chdir) 24 - ps dirent race bug (need to stat the file before attempting chdir)
25 - The following commands segfault or are broken:
26 date -u
27 - I believe that swaponoff may also be also broken (check it). 25 - I believe that swaponoff may also be also broken (check it).
28 - It used to be that BusyBox tar would happily overwrite existing files on 26 - It used to be that BusyBox tar would happily overwrite existing files on
29 an extraction. However, as of 0.42, BusyBox tar simply dies as soon as an 27 an extraction. However, as of 0.42, BusyBox tar simply dies as soon as an
diff --git a/coreutils/date.c b/coreutils/date.c
index 67d61a510..8e584cecc 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -187,7 +187,7 @@ int date_main(int argc, char **argv)
187 utc = 1; 187 utc = 1;
188 if (putenv("TZ=UTC0") != 0) 188 if (putenv("TZ=UTC0") != 0)
189 fatalError(memory_exhausted, "date"); 189 fatalError(memory_exhausted, "date");
190 /* Look ma, no break. Don't fix it either. */ 190 break;
191 case 'd': 191 case 'd':
192 use_arg = 1; 192 use_arg = 1;
193 if (date_str != NULL) 193 if (date_str != NULL)
diff --git a/date.c b/date.c
index 67d61a510..8e584cecc 100644
--- a/date.c
+++ b/date.c
@@ -187,7 +187,7 @@ int date_main(int argc, char **argv)
187 utc = 1; 187 utc = 1;
188 if (putenv("TZ=UTC0") != 0) 188 if (putenv("TZ=UTC0") != 0)
189 fatalError(memory_exhausted, "date"); 189 fatalError(memory_exhausted, "date");
190 /* Look ma, no break. Don't fix it either. */ 190 break;
191 case 'd': 191 case 'd':
192 use_arg = 1; 192 use_arg = 1;
193 if (date_str != NULL) 193 if (date_str != NULL)