summaryrefslogtreecommitdiff
path: root/lib/libc/time
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2011-10-10 13:53:25 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2011-10-10 13:53:25 +0000
commit6a3d04a3c6fc751b0c7eec78fb477c9b1cc6b67e (patch)
tree6e65dc96f2560f0ff11d07fd8604731417681bdc /lib/libc/time
parent00aae6a357a5ea90061845874fa4e0222d64c829 (diff)
Stop defining XPG4_1994_04_09.
As kettenis@ pointed at, http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html has the following: The Open Group Corrigendum U033/8 is applied. The %V conversion specifier is changed from "Otherwise, it is week 53 of the previous year, and the next week is week 1" to "Otherwise, it is the last week of the previous year, and the next week is week 1". In effect, strftime(3) with the "%V" format will now return "52" instead of "53" for days in January before the first Monday, when January 1st falls on a Friday, Saturday, or Sunday. ok kettenis@ millert@
Diffstat (limited to 'lib/libc/time')
-rw-r--r--lib/libc/time/private.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/time/private.h b/lib/libc/time/private.h
index e9d3104714d..4f97473ba6e 100644
--- a/lib/libc/time/private.h
+++ b/lib/libc/time/private.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: private.h,v 1.23 2011/07/01 13:34:18 millert Exp $ */
+/* $OpenBSD: private.h,v 1.24 2011/10/10 13:53:24 ajacoutot Exp $ */
#ifndef PRIVATE_H
#define PRIVATE_H
@@ -12,7 +12,6 @@
#define TM_GMTOFF tm_gmtoff
#define TM_ZONE tm_zone
#define PCTS 1
-#define XPG4_1994_04_09 1
#define ALL_STATE 1
#define STD_INSPIRED 1
#define HAVE_STRERROR 1