nano

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

commit 97ba02d4f14855dd4450fc4da8885cabd32cc884
parent 86988b5026b340d652abb79afb9133303ff13640
Author: Chris Allegretta <chrisa@asty.org>
Date:   Tue, 17 Feb 2009 03:05:17 +0000

Fixes for nano-regress and regress fix on nano.c for compilation with slang



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

Diffstat:
Mnano-regress | 3++-
Msrc/nano.c | 2--
2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/nano-regress b/nano-regress @@ -16,7 +16,8 @@ foreach my $name (@combos) { my @args = @$name; my $pct = $i / $#combos * 100; printf "Trying with options: @args, %d%% done...\n", $pct; - if (system "(./configure @args && make clean all) >/dev/null 2>&1") { + system("(./configure @args && make clean all) >/dev/null 2>&1"); + if ($? != 0) { print "Build failed for args: @args\n"; print "Try running make to reproduce\n"; exit(1); diff --git a/src/nano.c b/src/nano.c @@ -1615,9 +1615,7 @@ int do_input(bool *meta_key, bool *func_key, bool *s_or_t, bool #endif } } -#ifndef NANO_TINY } -#endif *finished = TRUE; break; }