nano

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

commit 0e46c0f4a5e2b7e3d84459bbe0feecec9d7885a7
parent 6a064503e5d7ee1df3f21a800a28e637bb7816bb
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 29 Apr 2018 12:01:02 +0200

main: clear a spurious error number, to avoid irrelevant messages later

This addresses https://savannah.gnu.org/bugs/?53777.

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

diff --git a/src/nano.c b/src/nano.c @@ -2649,6 +2649,7 @@ int main(int argc, char **argv) } else edit_refresh(); + errno = 0; focusing = TRUE; /* Forget any earlier statusbar x position. */