git: libc - make strtok() thread-safe

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Nov 11 18:03:27 PST 2019


commit b8efa4bd1021bba9e987c6aa3dfe146449223310
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Nov 11 17:51:35 2019 -0800

    libc - make strtok() thread-safe
    
    * Make strtok() thread-safe.  Applications are getting too complex
      to trust that they will do the right thing.

Summary of changes:
 lib/libc/string/strtok.c | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list