DragonFly commits List (threaded) for 2009-04
DragonFly BSD
DragonFly commits List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 7 Apr 2009 00:12:15 -0700 (PDT)

commit d10ccf5c1c8c98b60d1fb8e3e5a16453a3de6239
Author: Peter Avalos <pavalos@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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d10ccf5c1c8c98b60d1fb8e3e5a16453a3de6239


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]