commit | 539c73bdb1865ad57600e3759f2475adef79ab41 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Mon Oct 26 21:13:06 2009 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Mon Oct 26 21:13:06 2009 +0000 |
tree | f141635c305086a3ba63333691202b9e3978c201 | |
parent | 6dc6333323cce1ccc9aaec7ef9e7e200919204e1 [diff] |
Reset the umask right after fopen to avoid leaving it changed on error, noticed by deraadt@.