nano

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

commit 894d80fc5d26b2d27da1806b9c37646d5abd8401
parent 612caef65ff8c3048c5d6c965abdc8fb876095dd
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Thu, 31 Mar 2005 05:26:06 +0000

add missing blank line


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

Diffstat:
Msrc/files.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/files.c b/src/files.c @@ -1339,6 +1339,7 @@ int write_file(const char *name, bool tmp, int append, bool /* The temp file name we write to on prepend. */ assert(name != NULL); + if (name[0] == '\0') return -1; if (!tmp)