nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 41dd9122fe4bc025b5509e9800255b924580f425
parent a1064d42794d434b952d89855013fcd4e7044dff
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Tue, 15 Nov 2005 02:09:03 +0000

formatting fix


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3174 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/files.c | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/files.c b/src/files.c @@ -1474,10 +1474,9 @@ int write_file(const char *name, FILE *f_open, bool tmp, append_type if (f_open == NULL) { /* Now open the file in place. Use O_EXCL if tmp is TRUE. This * is copied from joe, because wiggy says so *shrug*. */ - fd = open(realname, O_WRONLY | O_CREAT | - ((append == APPEND) ? O_APPEND : (tmp ? O_EXCL : - O_TRUNC)), S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | - S_IROTH | S_IWOTH); + fd = open(realname, O_WRONLY | O_CREAT | ((append == APPEND) ? + O_APPEND : (tmp ? O_EXCL : O_TRUNC)), S_IRUSR | + S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); /* Set the umask back to the user's original value. */ umask(original_umask);