diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-26 10:17:52 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-26 10:17:52 +0300 |
commit | a0ec7918f3da09156c3897fa63518e16af11081a (patch) | |
tree | 9b718211f1dcd71ac51ea95e1a541694f348935b /coreutils/date.c | |
parent | 52c886144fd0491fd3b60f04a9f144cac6c12de4 (diff) |
apply accumulated post-1.6.1 patches, and bump version to 1.6.21_6_21_6_stable
Diffstat (limited to 'coreutils/date.c')
-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 57c826a3f..9288699a5 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); |