]> err.no Git - moreutils/commit
set umask before calling mkstemp
authorJoey Hess <joey@kodama.kitenet.net>
Fri, 11 Apr 2008 21:47:28 +0000 (17:47 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Fri, 11 Apr 2008 21:47:28 +0000 (17:47 -0400)
commit0595609018095dabd5d1a56cf03ddcc008a9e928
tree05e685b1589000c0ec51a88b912a6580c5426cd2
parent30746c4357c0ac6110ca7e2a279ce9e82e879581
set umask before calling mkstemp

This is a POSIX portability thing.

Restore the original umask after.
sponge.c