diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-08-15 20:44:42 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-08-15 20:44:42 (GMT) |
| commit | 44ccb7c9cea3735f85deeeca64238106b295b170 (patch) | |
| tree | 18b7d7b323f17ccdb5624da38b4ae2ec0f9767c5 /generic/tclLoad.c | |
| parent | 8c68a9d3912423beddeddd9b1969f806bd987817 (diff) | |
| parent | f04510bad1aeb454472e2f91558c9904d68d2ee8 (diff) | |
| download | tcl-44ccb7c9cea3735f85deeeca64238106b295b170.zip tcl-44ccb7c9cea3735f85deeeca64238106b295b170.tar.gz tcl-44ccb7c9cea3735f85deeeca64238106b295b170.tar.bz2 | |
Improve bunch of error-messages
Diffstat (limited to 'generic/tclLoad.c')
| -rw-r--r-- | generic/tclLoad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclLoad.c b/generic/tclLoad.c index 37d75d3..dd4d470 100644 --- a/generic/tclLoad.c +++ b/generic/tclLoad.c @@ -355,7 +355,7 @@ Tcl_LoadObjCmd( if (p == pkgGuess) { Tcl_DecrRefCount(splitPtr); Tcl_SetObjResult(interp, Tcl_ObjPrintf( - "couldn't figure out prefix for %s", + "cannot figure out prefix for %s", fullFileName)); Tcl_SetErrorCode(interp, "TCL", "OPERATION", "LOAD", "WHATLIBRARY", (char *)NULL); @@ -452,7 +452,7 @@ Tcl_LoadObjCmd( if (Tcl_IsSafe(target)) { if (libraryPtr->safeInitProc == NULL) { Tcl_SetObjResult(interp, Tcl_ObjPrintf( - "can't use library in a safe interpreter: no" + "cannot use library in a safe interpreter: no" " %s_SafeInit procedure", libraryPtr->prefix)); Tcl_SetErrorCode(interp, "TCL", "OPERATION", "LOAD", "UNSAFE", (char *)NULL); @@ -463,7 +463,7 @@ Tcl_LoadObjCmd( } else { if (libraryPtr->initProc == NULL) { Tcl_SetObjResult(interp, Tcl_ObjPrintf( - "can't attach library to interpreter: no %s_Init procedure", + "cannot attach library to interpreter: no %s_Init procedure", libraryPtr->prefix)); Tcl_SetErrorCode(interp, "TCL", "OPERATION", "LOAD", "ENTRYPOINT", (char *)NULL); |
