From 19148b1e7ebb279bfbc1ea8be329f795fa2c1eb0 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Sun, 19 Jan 2014 22:10:30 +0000 Subject: date: add dummy stime --- coreutils/date.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'coreutils') diff --git a/coreutils/date.c b/coreutils/date.c index 4860aa308..767e0d4a2 100644 --- a/coreutils/date.c +++ b/coreutils/date.c @@ -293,14 +293,9 @@ int date_main(int argc UNUSED_PARAM, char **argv) maybe_set_utc(opt); /* if setting time, set it */ -#if ENABLE_PLATFORM_MINGW32 - if (opt & OPT_SET) - bb_error_msg_and_die("Setting date is not supported"); -#else if ((opt & OPT_SET) && stime(&ts.tv_sec) < 0) { bb_perror_msg("can't set date"); } -#endif } /* Display output */ -- cgit v1.2.3-55-g6feb