diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-12-20 23:22:57 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-12-20 23:22:57 -0500 |
commit | 3b26a32df42092af6d0cdac655e52635b91d36b2 (patch) | |
tree | 84b1efc57b5c23da99b377883f62c201d35a155a /src/thread/pthread_once.c | |
parent | 4b2cb37770e56835b261660535cea77474154ba0 (diff) | |
download | musl-3b26a32df42092af6d0cdac655e52635b91d36b2.tar.gz musl-3b26a32df42092af6d0cdac655e52635b91d36b2.tar.xz musl-3b26a32df42092af6d0cdac655e52635b91d36b2.zip |
don't write openpty results until success is determined
not only is this semantically more correct; it also reduces code size slightly by eliminating the need for the compiler to assume the possibility of aliasing.
Diffstat (limited to 'src/thread/pthread_once.c')
0 files changed, 0 insertions, 0 deletions