diff options
| author | Michael Forney <mforney@mforney.org> | 2017-02-27 10:52:38 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2017-02-27 11:19:24 -0800 |
| commit | 80605f5a6cdcfd1d18d12151b69973b28db8c8eb (patch) | |
| tree | d13307af2df21b2822cea947f60eb47354960d7d /buffer.h | |
| parent | e4380da4a62b43e6b0848f08fbf6162d0c0a11cd (diff) | |
| download | vis-80605f5a6cdcfd1d18d12151b69973b28db8c8eb.tar.gz vis-80605f5a6cdcfd1d18d12151b69973b28db8c8eb.tar.xz | |
Remove unnecessary umask change in text_save_begin_inplace
POSIX says that
The mkstemp() function shall use the resulting pathname to create the
file, and obtain a file descriptor for it, as if by a call to:
open(pathname, O_RDWR|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR)
So this umask change didn't do anything in practice, unless the original
umask was more restrictive than 0177.
Diffstat (limited to 'buffer.h')
0 files changed, 0 insertions, 0 deletions
