projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b32502d
)
fix compile breakage
author
Denis Vlasenko
<vda.linux@googlemail.com>
Thu, 20 Mar 2008 23:25:04 +0000
(23:25 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Thu, 20 Mar 2008 23:25:04 +0000
(23:25 -0000)
coreutils/date.c
patch
|
blob
|
history
diff --git
a/coreutils/date.c
b/coreutils/date.c
index dfc8b2f405ff1bea64569774e99839551558f915..91bd54a550044ef062cc6f3949ea08e3e17710e7 100644
(file)
--- 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)
-
x
putenv((char*)"TZ=UTC0");
+ putenv((char*)"TZ=UTC0");
}
int date_main(int argc, char **argv);