projects
/
ncurses.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ncurses 6.0 - patch 20180120
[ncurses.git]
/
ncurses
/
base
/
lib_initscr.c
diff --git
a/ncurses/base/lib_initscr.c
b/ncurses/base/lib_initscr.c
index c1851b04b703e56815dbb33ba710cd55af417bc0..e0a5c717da4b6c130dde833d4ca312075870de54 100644
(file)
--- a/
ncurses/base/lib_initscr.c
+++ b/
ncurses/base/lib_initscr.c
@@
-45,7
+45,7
@@
#include <sys/termio.h> /* needed for ISC */
#endif
#include <sys/termio.h> /* needed for ISC */
#endif
-MODULE_ID("$Id: lib_initscr.c,v 1.4
2 2017/03/28 21:14:01
tom Exp $")
+MODULE_ID("$Id: lib_initscr.c,v 1.4
3 2017/06/17 18:42:45
tom Exp $")
NCURSES_EXPORT(WINDOW *)
initscr(void)
NCURSES_EXPORT(WINDOW *)
initscr(void)
@@
-88,7
+88,7
@@
initscr(void)
#endif
if (newterm(name, stdout, stdin) == 0) {
fprintf(stderr, "Error opening terminal: %s.\n", name);
#endif
if (newterm(name, stdout, stdin) == 0) {
fprintf(stderr, "Error opening terminal: %s.\n", name);
-
exit
(EXIT_FAILURE);
+
ExitProgram
(EXIT_FAILURE);
}
/* def_shell_mode - done in newterm/_nc_setupscreen */
}
/* def_shell_mode - done in newterm/_nc_setupscreen */