about summary refs log tree commit diff
path: root/src/math/asinhf.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-08-17 22:21:11 -0400
committerRich Felker <dalias@aerifal.cx>2013-08-17 22:21:11 -0400
commite678fc6f32e5e5c013ab4f99c38f5703b15ff6cd (patch)
treede7c3f0b61f5da227bc978c5f3fc0f53180773ca /src/math/asinhf.c
parent109bd65acf5180f0a48ea4c4e5f2bc6884be202d (diff)
downloadmusl-e678fc6f32e5e5c013ab4f99c38f5703b15ff6cd.tar.gz
musl-e678fc6f32e5e5c013ab4f99c38f5703b15ff6cd.tar.xz
musl-e678fc6f32e5e5c013ab4f99c38f5703b15ff6cd.zip
replace system's install command with a shell script
the historical (non-standardized) install command is really
inappropriate for installing binaries/libraries on a system that
utilizes memory-mapped executable files. rather than replacing an
existing file atomically, it overwrites the existing file. this can
cause running programs to see a partially-modified version of the
file, resulting in unpredictable behavior, or SIGBUS. a MAP_COPY mode
for mmap would get around this problem, but Linux lacks MAP_COPY.

the shell script added with this commit works around the problem by
writing temporary files and moving them into place. unlike the
historical install utility, it also support a -l option for installing
a symbolic link atomically, via the same method.
Diffstat (limited to 'src/math/asinhf.c')
0 files changed, 0 insertions, 0 deletions