Date: Wed, 10 Nov 1999 06:41:00 -0800 (PST) From: Sheldon Hearn <sheldonh@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdtime strptime.c Message-ID: <199911101441.GAA04912@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
sheldonh 1999/11/10 06:41:00 PST
Modified files:
lib/libc/stdtime strptime.c
Log:
Decremement by 1 the value taken for %j before assigning it to tm_yday,
which is zero-based.
Correct the range checking for the value taken for %S.
Add %w for the day of the week (0-6).
Accept (but do nothing with) %U and %W. The comment for this change was
taken from NetBSD.
These changes were made after several failed attempts to contact the
author of our strptime.c .
PR: 10131
Submitted by: tadf@kt.rim.or.jp (Tadayoshi Funaba)
Revision Changes Path
1.11 +51 -7 src/lib/libc/stdtime/strptime.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911101441.GAA04912>
