diff options
author | Bruno Haible <bruno@clisp.org> | 2019-07-03 19:25:09 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-07-03 19:34:23 +0200 |
commit | d1e92798e443517d04d72458834a206665926fdc (patch) | |
tree | 1856b9c21ff7214c0e300b0015c92290f102ae74 /build-aux/ar-lib | |
parent | 65b3308bb67777a8e42b0d5a4550a62562790e10 (diff) | |
download | gnulib-d1e92798e443517d04d72458834a206665926fdc.tar.gz |
mbrtowc: Fix invalid use of mbtowc() on MSVC.
* lib/mbrtowc.c: Include glthread/lock.h.
(mbtowc_lock): New variable.
(mbrtowc): Treat UTF-8 encoding without locking. For the other
encodings, explicitly reset the internal state of mbtowc, and protect
this through a lock.
* modules/mbrtowc (Depends-on): Add lock.
Diffstat (limited to 'build-aux/ar-lib')
0 files changed, 0 insertions, 0 deletions