Fossil SCM

Update error message in 'loadTcl' to make it more concise.

mistachkin 2019-02-24 20:32 trunk
Commit f2f01669d01bd99642ee1843037345157c64f79c383fc6f1c00240644a278b6b
1 file changed +1 -1
+1 -1
--- src/th_tcl.c
+++ src/th_tcl.c
@@ -972,11 +972,11 @@
972972
return TH_OK;
973973
}
974974
} while( --aFileName[TCL_MINOR_OFFSET]>'3' ); /* Tcl 8.4+ */
975975
aFileName[TCL_MINOR_OFFSET] = 'x';
976976
Th_ErrorMessage(interp,
977
- "could not load any supported Tcl 8.6, 8.5, or 8.4 shared library \"",
977
+ "could not load any supported Tcl 8.x shared library \"",
978978
aFileName, -1);
979979
return TH_ERROR;
980980
#else
981981
*phLibrary = 0;
982982
*pxFindExecutable = Tcl_FindExecutable;
983983
--- src/th_tcl.c
+++ src/th_tcl.c
@@ -972,11 +972,11 @@
972 return TH_OK;
973 }
974 } while( --aFileName[TCL_MINOR_OFFSET]>'3' ); /* Tcl 8.4+ */
975 aFileName[TCL_MINOR_OFFSET] = 'x';
976 Th_ErrorMessage(interp,
977 "could not load any supported Tcl 8.6, 8.5, or 8.4 shared library \"",
978 aFileName, -1);
979 return TH_ERROR;
980 #else
981 *phLibrary = 0;
982 *pxFindExecutable = Tcl_FindExecutable;
983
--- src/th_tcl.c
+++ src/th_tcl.c
@@ -972,11 +972,11 @@
972 return TH_OK;
973 }
974 } while( --aFileName[TCL_MINOR_OFFSET]>'3' ); /* Tcl 8.4+ */
975 aFileName[TCL_MINOR_OFFSET] = 'x';
976 Th_ErrorMessage(interp,
977 "could not load any supported Tcl 8.x shared library \"",
978 aFileName, -1);
979 return TH_ERROR;
980 #else
981 *phLibrary = 0;
982 *pxFindExecutable = Tcl_FindExecutable;
983

Keyboard Shortcuts

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