From b744eec1a908ae9d5785c0c730b9d74b5d06aeda Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 15 Jul 2020 10:43:15 +0200 Subject: [PATCH] tweaks: remove an incorrect mention of umask() from a comment Since commit f8366cd5, umask() is no longer used. --- src/files.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/files.c b/src/files.c index 438f8809..72b64d29 100644 --- 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. */