]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: fnmatch: drop static variable
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 28 Feb 2023 15:45:52 +0000 (16:45 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 28 Feb 2023 15:45:52 +0000 (16:45 +0100)
commit0d2ad77c40b641ebe2965568945a622f3f6dbd5c
tree313bfb23b7cc55a85daa255c3dc2ef9ba50ab132
parent6e75277b122c47ca63d9520780291cf4bc7251cf
Cygwin: fnmatch: drop static variable

fnmatch calls fnmatch1 with a static mbstate_t.  This breaks
calling fnmatch from multiple threads.  Fix it by folding
fnmatch1 into fnmatch and moving all mbstates to local variables.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/libc/fnmatch.c
This page took 0.029505 seconds and 5 git commands to generate.