overhaul tmpfile, tmpnam, and tempnam functions
authorRich Felker <dalias@aerifal.cx>
Tue, 27 May 2014 04:44:23 +0000 (00:44 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 27 May 2014 04:44:23 +0000 (00:44 -0400)
commit2fe6579125fe042f2255afbf00fc8e4b80d6a6be
tree153294950c138c8cbef7ca3a9dd145f99f7afc6e
parent9b880a6b4112b0b3c0bd07949f7836daeea4e712
overhaul tmpfile, tmpnam, and tempnam functions

these all now use the shared __randname function internally, rather
than duplicating logic for producing a random name. incorrect usage of
the access syscall (which works with real uid/gid, not effective) has
been removed, along with unnecessary heavy dependencies like snprintf.
src/stdio/tempnam.c
src/stdio/tmpfile.c
src/stdio/tmpnam.c