mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-29 03:02:57 +03:00
* slint.c (getch): If there is EOF on the input, exit
immediately, don't use quiet_quit_cmd(). Reported by Steven P. Ulrick <spu@faith4miracle.org>
This commit is contained in:
parent
4b685b1862
commit
482e675156
@ -1,3 +1,9 @@
|
||||
2003-02-03 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* slint.c (getch): If there is EOF on the input, exit
|
||||
immediately, don't use quiet_quit_cmd().
|
||||
Reported by Steven P. Ulrick <spu@faith4miracle.org>
|
||||
|
||||
2003-01-28 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* util.c (name_quote): Don't quote ':', '~' and '@'. Quote '#'
|
||||
|
@ -507,8 +507,7 @@ getch (void)
|
||||
fprintf (stderr,
|
||||
"SLang_getkey returned SLANG_GETKEY_ERROR\n"
|
||||
"Assuming EOF on stdin and exiting\n");
|
||||
quiet_quit_cmd ();
|
||||
return -1;
|
||||
exit (1);
|
||||
}
|
||||
return c;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user