svn commit: branches/busybox_1_5_stable/coreutils
vda at busybox.net
vda at busybox.net
Thu Mar 20 16:25:04 PDT 2008
Author: vda
Date: 2008-03-20 16:25:04 -0700 (Thu, 20 Mar 2008)
New Revision: 21425
Log:
fix compile breakage
Modified:
branches/busybox_1_5_stable/coreutils/date.c
Changeset:
Modified: branches/busybox_1_5_stable/coreutils/date.c
===================================================================
--- branches/busybox_1_5_stable/coreutils/date.c 2008-03-20 23:04:30 UTC (rev 21424)
+++ branches/busybox_1_5_stable/coreutils/date.c 2008-03-20 23:25:04 UTC (rev 21425)
@@ -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);
More information about the busybox-cvs
mailing list