nano

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

commit af8ffa8c949b3d988a209028053b80f5ab55590f
parent 3ffefbfddcadd1787d2a2ca6551f8259d20b2c4f
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 25 Nov 2019 19:21:03 +0100

tweaks: silence a warning when configured with --enable-tiny

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

diff --git a/src/files.c b/src/files.c @@ -1505,9 +1505,9 @@ bool write_file(const char *name, FILE *thefile, bool tmp, #ifndef NANO_TINY bool isactualfile = FALSE; /* Becomes TRUE when the file is non-temporary and exists. */ -#endif struct stat st; /* The status fields filled in by stat(). */ +#endif char *realname; /* The filename after tilde expansion. */ char *tempname = NULL;