diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-06-26 14:24:20 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-06-26 14:24:20 (GMT) |
commit | eaf387ef1309b6ee734c0dd565684570a7ea4b0c (patch) | |
tree | f54eafef612b63229c8289576e75af7369095ca3 | |
parent | c012287fc892b06388cdc3ac85d0b15bac1cdf50 (diff) | |
parent | 78b0a4a13cf977187b3bd1f413f080fc0c7b098b (diff) | |
download | tcl-eaf387ef1309b6ee734c0dd565684570a7ea4b0c.zip tcl-eaf387ef1309b6ee734c0dd565684570a7ea4b0c.tar.gz tcl-eaf387ef1309b6ee734c0dd565684570a7ea4b0c.tar.bz2 |
typos.
On Cygwin, Tcl_SetPanicProc(NULL) should set back the panic proc to its default, which is not NULL.
-rw-r--r-- | generic/tclConfig.c | 4 | ||||
-rw-r--r-- | generic/tclPanic.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/generic/tclConfig.c b/generic/tclConfig.c index a4ba71a..1d84cac 100644 --- a/generic/tclConfig.c +++ b/generic/tclConfig.c @@ -88,9 +88,9 @@ Tcl_RegisterConfig( * package meta data. Only if we have an ok encoding. * * Phase II: Create a command for querying this database, specific to the - * package registerting its configuration. This is the approved interface + * package registering its configuration. This is the approved interface * in TIP 59. In the future a more general interface should be done, as - * followup to TIP 59. Simply because our database is now general across + * follow-up to TIP 59. Simply because our database is now general across * packages, and not a structure tied to one package. * * Note, the created command will have a reference through its clientdata. diff --git a/generic/tclPanic.c b/generic/tclPanic.c index b87a8df..2a453b9 100644 --- a/generic/tclPanic.c +++ b/generic/tclPanic.c @@ -52,6 +52,10 @@ Tcl_SetPanicProc( #if defined(_WIN32) /* tclWinDebugPanic only installs if there is no panicProc yet. */ if ((proc != tclWinDebugPanic) || (panicProc == NULL)) +#elif defined(__CYGWIN__) + if (proc == NULL) + panicProc = tclWinDebugPanic; + else #endif panicProc = proc; } |