Fossil SCM

Fix inaccurate error message.

mistachkin 2013-09-16 06:23 UTC tcl-stubs
Commit 0a94396ddfd9019178ae9c9971b8b06c25a62bc9
1 file changed +1 -1
+1 -1
--- src/th_tcl.c
+++ src/th_tcl.c
@@ -202,11 +202,11 @@
202202
return TH_ERROR;
203203
}
204204
/* NOTE: At this point, the Tcl API functions should be available. */
205205
if( Tcl_PkgRequireEx(tclInterp, "Tcl", "8.4", 0, (void *)&tclStubsPtr)==0 ){
206206
Th_ErrorMessage(interp,
207
- "could not create Tcl interpreter: incompatible version",
207
+ "could not initialize Tcl stubs: incompatible version",
208208
(const char *)"", 0);
209209
return TH_ERROR;
210210
}
211211
return TH_OK;
212212
}
213213
--- src/th_tcl.c
+++ src/th_tcl.c
@@ -202,11 +202,11 @@
202 return TH_ERROR;
203 }
204 /* NOTE: At this point, the Tcl API functions should be available. */
205 if( Tcl_PkgRequireEx(tclInterp, "Tcl", "8.4", 0, (void *)&tclStubsPtr)==0 ){
206 Th_ErrorMessage(interp,
207 "could not create Tcl interpreter: incompatible version",
208 (const char *)"", 0);
209 return TH_ERROR;
210 }
211 return TH_OK;
212 }
213
--- src/th_tcl.c
+++ src/th_tcl.c
@@ -202,11 +202,11 @@
202 return TH_ERROR;
203 }
204 /* NOTE: At this point, the Tcl API functions should be available. */
205 if( Tcl_PkgRequireEx(tclInterp, "Tcl", "8.4", 0, (void *)&tclStubsPtr)==0 ){
206 Th_ErrorMessage(interp,
207 "could not initialize Tcl stubs: incompatible version",
208 (const char *)"", 0);
209 return TH_ERROR;
210 }
211 return TH_OK;
212 }
213

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button