Commit da13f0b4 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

Oops, misplaced comment

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@391 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 1bd0ce28
Showing with 1 addition and 1 deletion
+1 -1
......@@ -444,10 +444,10 @@ int write_file(char *name, int tmp)
else
mask = 0666 & ~mask;
} else
/* Use permissions from file we are overwriting. */
mask = st.st_mode;
if (!tmp && (!ISSET(FOLLOW_SYMLINKS) && S_ISLNK(lst.st_mode))) {
/* Use permissions from file we are overwriting. */
if (unlink(realname) == -1) {
if (errno != ENOENT) {
statusbar(_("Could not open %s for writing: %s"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment