summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-10-26 16:20:57 +0000
committerache <ache@FreeBSD.org>2000-10-26 16:20:57 +0000
commitf3a75b8edad7e1c8470fb3ae684a86260b32c2b3 (patch)
treefd80091a0c685d7fc44ed3101124042facc09629 /lib
parent5d5fb83f13c398b00ebe7c968495de1fec09dc4d (diff)
downloadFreeBSD-src-f3a75b8edad7e1c8470fb3ae684a86260b32c2b3.zip
FreeBSD-src-f3a75b8edad7e1c8470fb3ae684a86260b32c2b3.tar.gz
Treat c_fmt field as compatibility placeholder
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdtime/timelocal.c6
-rw-r--r--lib/libc/stdtime/timelocal.h2
2 files changed, 3 insertions, 5 deletions
diff --git a/lib/libc/stdtime/timelocal.c b/lib/libc/stdtime/timelocal.c
index c7fd1bb..3a810ed 100644
--- a/lib/libc/stdtime/timelocal.c
+++ b/lib/libc/stdtime/timelocal.c
@@ -78,11 +78,9 @@ const struct lc_time_T _C_time_locale = {
/*
** c_fmt (ctime-compatible)
- ** Note that
- ** "%a %b %d %H:%M:%S %Y"
- ** is used by Solaris 2.3.
+ ** Not used, just compatibility placeholder.
*/
- "%a %Ef %X %Y",
+ NULL,
/* am */
"AM",
diff --git a/lib/libc/stdtime/timelocal.h b/lib/libc/stdtime/timelocal.h
index 19b9d21..b5ab91d 100644
--- a/lib/libc/stdtime/timelocal.h
+++ b/lib/libc/stdtime/timelocal.h
@@ -37,7 +37,7 @@ struct lc_time_T {
const char * weekday[7];
const char * X_fmt;
const char * x_fmt;
- const char * c_fmt;
+ const char * c_fmt; /* not used, just compatibility placeholder */
const char * am;
const char * pm;
const char * date_fmt;
OpenPOWER on IntegriCloud