diff options
Diffstat (limited to 'unix/dltest/pkgf.c')
-rw-r--r-- | unix/dltest/pkgf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/unix/dltest/pkgf.c b/unix/dltest/pkgf.c index e2a0653..7e988d4 100644 --- a/unix/dltest/pkgf.c +++ b/unix/dltest/pkgf.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: pkgf.c,v 1.2 1998/09/14 18:40:18 stanton Exp $ + * RCS: @(#) $Id: pkgf.c,v 1.3 1999/03/11 21:47:40 stanton Exp $ */ #include "tcl.h" @@ -45,5 +45,8 @@ Pkgf_Init(interp) Tcl_Interp *interp; /* Interpreter in which the package is * to be made available. */ { + if (Tcl_InitStubs(interp, TCL_VERSION, 1) == NULL) { + return TCL_ERROR; + } return Tcl_Eval(interp, "if 44 {open non_existent}"); } |