about summary refs log tree commit diff
path: root/src/multibyte
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2017-11-10 18:15:43 -0600
committerRich Felker <dalias@aerifal.cx>2017-11-10 19:27:57 -0500
commitc21051e90cd27a0b26be0ac66950b7396a156ba1 (patch)
treeaa4367f565765f4e8b155e19b320fac6b68eaa40 /src/multibyte
parenta39f20bf9f8e59573a479bff23df345b2b4d2345 (diff)
downloadmusl-c21051e90cd27a0b26be0ac66950b7396a156ba1.tar.gz
musl-c21051e90cd27a0b26be0ac66950b7396a156ba1.tar.xz
musl-c21051e90cd27a0b26be0ac66950b7396a156ba1.zip
prevent fork's errno from being clobbered by atfork handlers
If the syscall fails, errno must be set correctly for the caller.
There's no guarantee that the handlers registered with pthread_atfork
won't clobber errno, so we need to ensure it gets set after they are
called.
Diffstat (limited to 'src/multibyte')
0 files changed, 0 insertions, 0 deletions