Replaced static variable by a library base member to
commit1aefb1c7460b7ec03438b92c597c1cff750482c6
authormazze <mazze@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Thu, 17 Oct 2013 05:02:50 +0000 (17 05:02 +0000)
committermazze <mazze@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Thu, 17 Oct 2013 05:02:50 +0000 (17 05:02 +0000)
treef34049e7ef0ebd37954cb31e4a8f027fb7231c5f
parent87e2a130e0734bd7fc245a51a978df9ab1c5a883
Replaced static variable by a library base member to
avoid interference if several applications call strtok()
at the same time.

Added a test for both strtok() and strtok_r() to the
clib tests.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@48303 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
compiler/stdc/__stdc_intbase.h
compiler/stdc/strtok.c
test/clib/all-tests.c
test/clib/mmakefile.src
test/clib/strtok.c [new file with mode: 0644]