From: Chris Allegretta Date: Sat, 15 May 2004 00:08:52 +0000 (+0000) Subject: nano.c:main() - Don't call open_file with quiet flag set. Fixes Debian bug #Fixes... X-Git-Tag: v1.2.4~6 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b184f0801427a0124df8df6dab49163d9f0ac468;p=nano.git 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 --- 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