X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fbase%2Flib_newterm.c;h=05982b84cee4c9b5cfba85c7b5b2a9f54390ddad;hp=c467a60871ee8a2cc3d4531c875346e9673ffe90;hb=1c2ec25b8186b7973aeb06ec4da6b63656e12f7d;hpb=8f527f87c0b979d9c2598ef5c3394463af288468 diff --git a/ncurses/base/lib_newterm.c b/ncurses/base/lib_newterm.c index c467a608..05982b84 100644 --- a/ncurses/base/lib_newterm.c +++ b/ncurses/base/lib_newterm.c @@ -48,7 +48,7 @@ #include /* clear_screen, cup & friends, cur_term */ #include -MODULE_ID("$Id: lib_newterm.c,v 1.72 2008/08/03 22:49:49 tom Exp $") +MODULE_ID("$Id: lib_newterm.c,v 1.73 2008/08/16 21:20:48 Werner.Fink Exp $") #ifndef ONLCR /* Allows compilation under the QNX 4.2 OS */ #define ONLCR 0 @@ -130,6 +130,7 @@ newterm(NCURSES_CONST char *name, FILE *ofp, FILE *ifp) START_TRACE(); T((T_CALLED("newterm(\"%s\",%p,%p)"), name, ofp, ifp)); + _nc_init_pthreads(); _nc_lock_global(curses); current = SP;