Overview
| Artifact ID: | f43bc990147ec19bca7613289f560f582ef6a9cf |
|---|---|
| Ticket: | 1055836fffffffffffffffffffffffffffffffff |
| Date: | 2004-10-28 10:20:55 |
| User: | davygrvy |
| Artifact Attached: | 2ce85ac3081b81a58f40472b5aa46c55ff2ab7b1 |
| Filename: | patch.txt |
| Description: |
Content:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100*** unix/tclAppInit.c 31 May 2002 22:20:22 -0000 1.11 --- unix/tclAppInit.c 28 Oct 2004 03:16:34 -0000 *************** *** 20,32 **** #include "tclInt.h" ! 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)); ! #ifdef TCL_THREADS ! extern int TclThread_Init _ANSI_ARGS_((Tcl_Interp *interp)); ! #endif #endif /* TCL_TEST */ --- 20,29 ---- #include "tclInt.h" ! extern Tcl_PackageInitProc Procbodytest_Init; ! extern Tcl_PackageInitProc Procbodytest_SafeInit; ! extern Tcl_PackageInitProc TclObjTest_Init; ! extern Tcl_PackageInitProc Tcltest_Init; #endif /* TCL_TEST */ *************** *** 133,143 **** if (TclObjTest_Init(interp) == TCL_ERROR) { return TCL_ERROR; } - #ifdef TCL_THREADS - if (TclThread_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - #endif if (Procbodytest_Init(interp) == TCL_ERROR) { return TCL_ERROR; } --- 130,135 ---- *** win/tclAppInit.c 18 Sep 2004 22:01:36 -0000 1.20 --- win/tclAppInit.c 28 Oct 2004 03:16:41 -0000 *************** *** 19,31 **** #include <locale.h> #ifdef TCL_TEST ! extern int Procbodytest_Init _ANSI_ARGS_((Tcl_Interp *interp)); ! extern int Procbodytest_SafeInit _ANSI_ARGS_((Tcl_Interp *interp)); ! extern int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp)); ! extern int TclObjTest_Init _ANSI_ARGS_((Tcl_Interp *interp)); ! #ifdef TCL_THREADS ! extern int TclThread_Init _ANSI_ARGS_((Tcl_Interp *interp)); ! #endif #endif /* TCL_TEST */ #if defined(__GNUC__) --- 19,28 ---- #include <locale.h> #ifdef TCL_TEST ! extern Tcl_PackageInitProc Procbodytest_Init; ! extern Tcl_PackageInitProc Procbodytest_SafeInit; ! extern Tcl_PackageInitProc Tcltest_Init; ! extern Tcl_PackageInitProc TclObjTest_Init; #endif /* TCL_TEST */ #if defined(__GNUC__) *************** *** 155,170 **** if (Tcltest_Init(interp) == TCL_ERROR) { return TCL_ERROR; } ! Tcl_StaticPackage(interp, "Tcltest", Tcltest_Init, ! (Tcl_PackageInitProc *) NULL); if (TclObjTest_Init(interp) == TCL_ERROR) { return TCL_ERROR; } - #ifdef TCL_THREADS - if (TclThread_Init(interp) == TCL_ERROR) { - return TCL_ERROR; - } - #endif if (Procbodytest_Init(interp) == TCL_ERROR) { return TCL_ERROR; } --- 152,161 ---- if (Tcltest_Init(interp) == TCL_ERROR) { return TCL_ERROR; } ! Tcl_StaticPackage(interp, "Tcltest", Tcltest_Init, NULL); if (TclObjTest_Init(interp) == TCL_ERROR) { return TCL_ERROR; } if (Procbodytest_Init(interp) == TCL_ERROR) { return TCL_ERROR; }