Skip to content
Snippets Groups Projects
Commit e6f49bb7 authored by Marcus Comstedt's avatar Marcus Comstedt
Browse files

Handle nonexistand termcap/terminfo.

Rev: lib/modules/Stdio.pmod/Terminfo.pmod:1.4
parent dd6517eb
No related branches found
No related tags found
No related merge requests found
// $Id: Terminfo.pmod,v 1.3 1999/03/17 23:26:03 marcus Exp $
// $Id: Terminfo.pmod,v 1.4 1999/03/23 20:48:01 marcus Exp $
#if constant(thread_create)
......@@ -718,7 +718,7 @@ object defaultTermcapDB()
{
object tcdb;
LOCK;
tcdb = deftermcap || (deftermcap = TermcapDB());
catch { tcdb = deftermcap || (deftermcap = TermcapDB()); };
UNLOCK;
return tcdb;
}
......@@ -727,7 +727,7 @@ object defaultTerminfoDB()
{
object tidb;
LOCK;
tidb = defterminfo || (defterminfo = TerminfoDB());
catch { tidb = defterminfo || (defterminfo = TerminfoDB()); };
UNLOCK;
return tidb;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment