diff options
author | Rich Felker <dalias@aerifal.cx> | 2021-01-30 17:28:08 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2021-01-30 17:28:08 -0500 |
commit | 9b77aaca86b53c367f23505c24dd3c02e240efad (patch) | |
tree | 7922f847a292971a7dbe61f68acd503d9a58a371 /src/ctype/towctrans.c | |
parent | 98b9df994c85dcb6a8a5a9099495dd44c7cf2bce (diff) | |
download | musl-9b77aaca86b53c367f23505c24dd3c02e240efad.tar.gz musl-9b77aaca86b53c367f23505c24dd3c02e240efad.tar.bz2 musl-9b77aaca86b53c367f23505c24dd3c02e240efad.tar.xz musl-9b77aaca86b53c367f23505c24dd3c02e240efad.zip |
oldmalloc: preserve errno across free
as an outcome of Austin Group issue #385, future versions of the
standard will require free not to alter the value of errno. save and
restore it individually around the calls to madvise and munmap so that
the cost is not imposed on calls to free that do not result in any
syscall.
Diffstat (limited to 'src/ctype/towctrans.c')
0 files changed, 0 insertions, 0 deletions