commit b744eec1a908ae9d5785c0c730b9d74b5d06aeda
parent a6f64212ae8d1e12a1c506f363351e4b9e5afeb3
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Wed, 15 Jul 2020 10:43:15 +0200
tweaks: remove an incorrect mention of umask() from a comment
Since commit f8366cd5, umask() is no longer used.
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/files.c b/src/files.c
@@ -1747,9 +1747,8 @@ bool make_backup_of(char *realname)
/* Write the current buffer to disk. If thefile isn't NULL, we write to a
* temporary file that is already open. If tmp is TRUE (when spell checking
- * or emergency dumping, for example), we set the umask to disallow anyone else
- * from accessing the file, and don't print out how many lines we wrote on the
- * status bar. If method is APPEND or PREPEND, it means we will be appending
+ * or emergency dumping, for example), we don't make a backup and don't give
+ * feedback. If method is APPEND or PREPEND, it means we will be appending
* or prepending instead of overwriting the given file. If fullbuffer is TRUE
* and when writing normally, we set the current filename and stat info.
* Return TRUE on success, and FALSE otherwise. */