From b184f0801427a0124df8df6dab49163d9f0ac468 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Sat, 15 May 2004 00:08:52 +0000 Subject: [PATCH] nano.c:main() - Don't call open_file with quiet flag set. Fixes Debian bug #Fixes Debian bug #246956 (no warning when trying to open non-readable file) git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_1_2_branch/nano@1741 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 4 ++++ nano.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 259d6d10..326c70a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ CVS code - - General: - Translation updates (see po/ChangeLog for details). +- nano.c: + main() + - Don't call open_file with quiet flag set. Fixes Debian bug + #246956 (no warning when trying to open non-readable file). GNU nano 1.2.3 - 2004.01.17 - General: diff --git a/nano.c b/nano.c index bf052aef..813304fd 100644 --- a/nano.c +++ b/nano.c @@ -3420,7 +3420,7 @@ int main(int argc, char *argv[]) fprintf(stderr, "Main: open file\n"); #endif - open_file(filename, 0, 1); + open_file(filename, 0, 0); #ifdef ENABLE_MULTIBUFFER /* If we're using multibuffers and more than one file is specified on the command line, load them all and switch to the first one -- 2.39.5