* main.c (do_execute) [!HAVE_SUBSHELL_SUPPORT]: Compile fix.
Этот коммит содержится в:
родитель
11a66b3ffd
Коммит
6d2f235053
@ -1,5 +1,7 @@
|
|||||||
2002-08-14 Pavel Roskin <proski@gnu.org>
|
2002-08-14 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* main.c (do_execute) [!HAVE_SUBSHELL_SUPPORT]: Compile fix.
|
||||||
|
|
||||||
* view.c (display): Use only declared color pairs to fix hex
|
* view.c (display): Use only declared color pairs to fix hex
|
||||||
editor appearance with ncurses. Eliminate some useless defines.
|
editor appearance with ncurses. Eliminate some useless defines.
|
||||||
|
|
||||||
|
@ -685,8 +685,11 @@ do_execute (const char *shell, const char *command, int flags)
|
|||||||
if (!(flags & EXECUTE_INTERNAL)) {
|
if (!(flags & EXECUTE_INTERNAL)) {
|
||||||
if ((pause_after_run == pause_always ||
|
if ((pause_after_run == pause_always ||
|
||||||
(pause_after_run == pause_on_dumb_terminals &&
|
(pause_after_run == pause_on_dumb_terminals &&
|
||||||
!xterm_flag && !console_flag)) && !quit &&
|
!xterm_flag && !console_flag)) && !quit
|
||||||
subshell_state != RUNNING_COMMAND) {
|
#ifdef HAVE_SUBSHELL_SUPPORT
|
||||||
|
&& subshell_state != RUNNING_COMMAND
|
||||||
|
#endif /* HAVE_SUBSHELL_SUPPORT */
|
||||||
|
) {
|
||||||
printf ("%s\r\n", _("Press any key to continue..."));
|
printf ("%s\r\n", _("Press any key to continue..."));
|
||||||
last_paused = 1;
|
last_paused = 1;
|
||||||
fflush (stdout);
|
fflush (stdout);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user