git: libc -- string: strspn should return 0 for empty match strings, not string len.

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Wed Oct 26 07:40:30 PDT 2011


commit ac343b628b629ebea6fa81745ea5d94fccb6f8b3
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date:   Wed Oct 26 07:37:39 2011 -0700

    libc -- string: strspn should return 0 for empty match strings, not string len.
    
    Reported-by: lentferj

Summary of changes:
 lib/libc/string/strspn.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list