diff options
author | Denis Vlasenko | 2007-11-26 07:17:52 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-11-26 07:17:52 +0000 |
commit | a0ec7918f3da09156c3897fa63518e16af11081a (patch) | |
tree | 9b718211f1dcd71ac51ea95e1a541694f348935b /coreutils | |
parent | 52c886144fd0491fd3b60f04a9f144cac6c12de4 (diff) | |
download | busybox-a0ec7918f3da09156c3897fa63518e16af11081a.zip busybox-a0ec7918f3da09156c3897fa63518e16af11081a.tar.gz |
apply accumulated post-1.6.1 patches, and bump version to 1.6.21_6_2
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/date.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/coreutils/date.c b/coreutils/date.c index 57c826a..9288699 100644 --- a/coreutils/date.c +++ b/coreutils/date.c @@ -32,16 +32,10 @@ #define DATE_OPT_TIMESPEC 0x20 #define DATE_OPT_HINT 0x40 -static void xputenv(char *s) -{ - if (putenv(s) != 0) - bb_error_msg_and_die(bb_msg_memory_exhausted); -} - static void maybe_set_utc(int opt) { if (opt & DATE_OPT_UTC) - xputenv((char*)"TZ=UTC0"); + putenv((char*)"TZ=UTC0"); } int date_main(int argc, char **argv); |