From 894d80fc5d26b2d27da1806b9c37646d5abd8401 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 31 Mar 2005 05:26:06 +0000 Subject: [PATCH] add missing blank line git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2445 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/files.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/files.c b/src/files.c index ae1e314b..e44dcad3 100644 --- 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) -- 2.39.5