Subject: CVS commit: src/lib/libc/time
To: None <source-changes@NetBSD.org>
From: David Laight <firstname.lastname@example.org>
Date: 03/04/2005 21:41:42
Module Name: src
Committed By: dsl
Date: Fri Mar 4 21:41:42 UTC 2005
A going-over with the optimiser, save over 500 bytes.
I think this is enough to get rescue_tiny to fit again.
While there fix some bugs:
- %y failed to subtract 1900 from tm_year
- %p (am/pm) only worked at the end of the string
- %E% was treated at %% (ie match a % character)
regression test being added....
To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/lib/libc/time/strptime.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.