diff options
author | jingham <jingham> | 1998-11-10 06:49:19 (GMT) |
---|---|---|
committer | jingham <jingham> | 1998-11-10 06:49:19 (GMT) |
commit | 0b7d54658da48c639f446247709d0f7677c52ba2 (patch) | |
tree | 426ae9ad4e25e36702e7b3c1ea424748f2fde331 /mac/tclMacAppInit.c | |
parent | 1507799b72b322cf875f0e6a287dfe69bf420a8a (diff) | |
download | tcl-0b7d54658da48c639f446247709d0f7677c52ba2.zip tcl-0b7d54658da48c639f446247709d0f7677c52ba2.tar.gz tcl-0b7d54658da48c639f446247709d0f7677c52ba2.tar.bz2 |
Fixed a bug in the resource command when the file was opened twice.
Fixed a bug in the testWriteTextResource command - it wrote one too many bytes.
Factored out the common code from the .pch files
FspLocationFromPath - make path a CONST
Diffstat (limited to 'mac/tclMacAppInit.c')
-rw-r--r-- | mac/tclMacAppInit.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mac/tclMacAppInit.c b/mac/tclMacAppInit.c index 9e66a20..693470c 100644 --- a/mac/tclMacAppInit.c +++ b/mac/tclMacAppInit.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclMacAppInit.c,v 1.2 1998/09/14 18:40:04 stanton Exp $ + * RCS: @(#) $Id: tclMacAppInit.c,v 1.3 1998/11/10 06:49:25 jingham Exp $ */ #include "tcl.h" @@ -26,6 +26,8 @@ short InstallConsole _ANSI_ARGS_((short fd)); #endif #ifdef TCL_TEST +EXTERN int Procbodytest_Init _ANSI_ARGS_((Tcl_Interp *interp)); +EXTERN int Procbodytest_SafeInit _ANSI_ARGS_((Tcl_Interp *interp)); EXTERN int TclObjTest_Init _ANSI_ARGS_((Tcl_Interp *interp)); EXTERN int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp)); #endif /* TCL_TEST */ @@ -108,6 +110,11 @@ Tcl_AppInit( if (TclObjTest_Init(interp) == TCL_ERROR) { return TCL_ERROR; } + if (Procbodytest_Init(interp) == TCL_ERROR) { + return TCL_ERROR; + } + Tcl_StaticPackage(interp, "procbodytest", Procbodytest_Init, + Procbodytest_SafeInit); #endif /* TCL_TEST */ /* |