summaryrefslogtreecommitdiff
path: root/src/stdio/fgetc.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-10-11 22:51:05 -0400
committerRich Felker <dalias@aerifal.cx>2012-10-11 22:51:05 -0400
commit964e9f3c4c8776820e98c967f3a411d4ca5075a7 (patch)
tree7242af337a05f398e3e25bd9e30b98f3ab47cae6 /src/stdio/fgetc.c
parent12e9b4faf68a1a02ebf5ad69c03ac10f170f14cb (diff)
downloadmusl-964e9f3c4c8776820e98c967f3a411d4ca5075a7.tar.gz
avoid the thread-ptr-init behavior of sigaction when not installing handler
this is necessary because posix_spawn calls sigaction after vfork, and if the thread pointer is not already initialized, initializing it in the child corrupts the parent process's state.
Diffstat (limited to 'src/stdio/fgetc.c')
0 files changed, 0 insertions, 0 deletions