DragonFly- master lib/libc/stdtime strptime.3 strptime.c

Peter Avalos pavalos at crater.dragonflybsd.org
Tue Apr 7 00:13:43 PDT 2009

commit d10ccf5c1c8c98b60d1fb8e3e5a16453a3de6239
Author: Peter Avalos <pavalos at theshell.com>
Date:   Fri Jan 16 18:45:43 2009 -0500

    Sync strptime with NetBSD:
    -A few code optimiztions.
    -%y failed to subtract 1900 from tm_year
    -%p (am/pm) only worked at the end of the string
    -%E% was treated as %% (ie match a % character)
    -Add support for %Z.
    -Add %F the ISO 8601 date format which is equivalent to %Y-%m-%d.
    -Add gnu extensions: %z, %g, %G, %u.
    -Bring in NetBSD's strptime(3) manual page.

Summary of changes:
 lib/libc/stdtime/strptime.3 |  378 +++++++++++++++++++++++-------------
 lib/libc/stdtime/strptime.c |  452 +++++++++++++++++++++++++------------------
 2 files changed, 507 insertions(+), 323 deletions(-)


DragonFly BSD source repository

More information about the Commits mailing list