From 97ba02d4f14855dd4450fc4da8885cabd32cc884 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Tue, 17 Feb 2009 03:05:17 +0000 Subject: [PATCH] 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 --- nano-regress | 3 ++- src/nano.c | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/nano-regress b/nano-regress index 92f1086f..926ae2fe 100755 --- 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 index c61b11cc..e59526e2 100644 --- 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; } -- 2.39.5