git: libc/strptime: Return NULL, not 0, since the function returns char *.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Jul 25 11:44:11 PDT 2016


commit 8f0a5894cdce7b38cd6d4db5ba3adfca0d62dfd5
Author: Sascha Wildner <saw at online.de>
Date:   Mon Jul 25 20:43:03 2016 +0200

    libc/strptime: Return NULL, not 0, since the function returns char *.
    
    While here, accept 'UTC' for %Z as well.
    
    Taken-from: FreeBSD

Summary of changes:
 lib/libc/stdtime/strptime.c | 83 +++++++++++++++++++++++----------------------
 1 file changed, 42 insertions(+), 41 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8f0a5894cdce7b38cd6d4db5ba3adfca0d62dfd5


-- 
DragonFly BSD source repository



More information about the Commits mailing list