summaryrefslogtreecommitdiff
path: root/src/fcntl/fcntl.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-19 09:40:07 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-19 09:40:07 -0500
commit69ecbd0f3188be97f91cc0d6415836d23e88f7fc (patch)
tree0d74e8a311a2ec1a8d0be9fa0f09ac09004a448f /src/fcntl/fcntl.c
parent2e6239dd064d201c6e1b0f589bae9ff27949d2eb (diff)
downloadmusl-69ecbd0f3188be97f91cc0d6415836d23e88f7fc.tar.gz
make mktemp match the historic behavior, and update functions that use it
the historic mktemp is supposed to blank the template string on failure, rather than returning 0. just zero the first character so that mkstemp and mkdtemp can still retry with O(1) space requirement.
Diffstat (limited to 'src/fcntl/fcntl.c')
0 files changed, 0 insertions, 0 deletions