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

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


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Oct 2011 07:39:41 -0700 (PDT)

commit ac343b628b629ebea6fa81745ea5d94fccb6f8b3
Author: Venkatesh Srinivas <me@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



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