From owner-cvs-all Tue Mar 12 9:25: 4 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2495737B405; Tue, 12 Mar 2002 09:24:55 -0800 (PST) Received: (from phantom@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2CHOt308299; Tue, 12 Mar 2002 09:24:55 -0800 (PST) (envelope-from phantom) Message-Id: <200203121724.g2CHOt308299@freefall.freebsd.org> From: Alexey Zelkin Date: Tue, 12 Mar 2002 09:24:55 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdtime Makefile.inc strftime.3 strftime.c strptime.c timelocal.c timelocal.h X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phantom 2002/03/12 09:24:55 PST Modified files: (Branch: RELENG_4) lib/libc/stdtime Makefile.inc strftime.3 strftime.c strptime.c timelocal.c timelocal.h Log: MFC: sync with -CURRENT's stdtime code This MFC brings to -STABLE following changes/features: . get rid of non-standard %E[Ff] formats . add %F per POSIX . add %r per POSIX (ampm_fmt) . hardcode c_fmt in a different way since used in nl_langinfo now . make '%A' and '%a', '%B' and '%b' same per POSIX . introduce non-standard md_order (month/day order locale field). This field is available to user-land apps via nl_langinfo(3) and supposed to replace all usages of %E[Ff] in more correct way. . allow POSIX legal data on 3 chars abbrev, name length and %c format WARNING: please beware about this commit. It can trigger some hidden or implicit problems with locale/time specific functions or related/dependent stuff in userland applications. Please report anything unusual! Following files/revisions were MFCed: Makefile.inc 1.11 strftime.3 1.25, 1.26 strftime.c 1.29, 1.30, 1.32 - 1.34 strptime.c 1.20 - 1.25 timelocal.c 1.12 - 1.22 timelocal.h 1.7 - 1.11 Revision Changes Path 1.9.2.2 +2 -2 src/lib/libc/stdtime/Makefile.inc 1.18.2.8 +7 -14 src/lib/libc/stdtime/strftime.3 1.25.2.4 +15 -22 src/lib/libc/stdtime/strftime.c 1.17.2.3 +33 -46 src/lib/libc/stdtime/strptime.c 1.8.2.3 +44 -168 src/lib/libc/stdtime/timelocal.c 1.5.2.2 +21 -20 src/lib/libc/stdtime/timelocal.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message