Overview
Comment: | Cleaned up winMain
Updated main to return in failure if Tcl_Main() returns |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
5dc6b2220bd5f4c7fcec1676fa5552ae |
User & Date: | rkeene on 2010-09-26 04:46:35 |
Other Links: | manifest | tags |
Context
2010-09-26
| ||
04:46 |
Added StaticTk builds
Updated to move failed builds into failed directory check-in: fdb515dc70 user: rkeene tags: trunk | |
04:46 |
Cleaned up winMain
Updated main to return in failure if Tcl_Main() returns check-in: 5dc6b2220b user: rkeene tags: trunk | |
04:46 | Fixed bug with zlib static linking check-in: 91b460f024 user: rkeene tags: trunk | |
Changes
Modified kitsh/buildsrc/kitsh-0.0/main.c from [f0d4d5a170] to [cac11ec6a8].
1 2 3 4 5 6 7 8 9 10 11 12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | + - + | #ifndef KITSH_NEED_WINMAIN #include <tcl.h> int TclKit_AppInit(Tcl_Interp *interp); int main(int argc, char **argv) { Tcl_Interp *x; x = Tcl_CreateInterp(); Tcl_Main(argc, argv, TclKit_AppInit); /* If Tcl_Main() returns, something went wrong */ |
Modified kitsh/buildsrc/kitsh-0.0/winMain.c from [7676f90af4] to [34460f486a].
︙ | |||
32 33 34 35 36 37 38 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | - - - - | /* * Forward declarations for procedures defined later in this file: */ static void setargv _ANSI_ARGS_((int *argcPtr, char ***argvPtr)); static Tcl_PanicProc WishPanic; |
︙ | |||
210 211 212 213 214 215 216 | 206 207 208 209 210 211 212 213 214 215 216 217 218 219 | - - - - - - - - | if (Dde_Init(interp) == TCL_ERROR) { return TCL_ERROR; } Tcl_StaticPackage(interp, "dde", Dde_Init, NULL); } #endif |
︙ | |||
380 381 382 383 384 385 386 | 368 369 370 371 372 373 374 375 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | argSpace = arg + 1; } argv[argc] = NULL; *argcPtr = argc; *argvPtr = argv; } |