summaryrefslogtreecommitdiffstats
path: root/generic/tclMain.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-04 14:25:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-04 14:25:30 (GMT)
commit1c6036d135352e1c8ac81e9d4c321adb56759b80 (patch)
tree26aedec2af4f1b07c6ea0968b26bf8743c4d9bdf /generic/tclMain.c
parentab7b8a5a78fffb2e0ad3aff15574773d5eea2951 (diff)
parentb8b286d5a00ea01ad67772a42b8274f5c185bb80 (diff)
downloadtcl-1c6036d135352e1c8ac81e9d4c321adb56759b80.zip
tcl-1c6036d135352e1c8ac81e9d4c321adb56759b80.tar.gz
tcl-1c6036d135352e1c8ac81e9d4c321adb56759b80.tar.bz2
Merge 8.7 (undid the encodingPtr -> encodingNamePtr change)
Diffstat (limited to 'generic/tclMain.c')
-rw-r--r--generic/tclMain.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c
index f8ac2db..a93aabd 100644
--- a/generic/tclMain.c
+++ b/generic/tclMain.c
@@ -172,7 +172,7 @@ Tcl_SetStartupScript(
* The path of the startup script; NULL if none has been set.
*
* Side effects:
- * If encodingNamePtr is not NULL, stores a (const char *) in it pointing to
+ * If encodingPtr is not NULL, stores a (const char *) in it pointing to
* the encoding name registered for the startup script. Tcl retains
* ownership of the string, and may free it. Caller should make a copy
* for long-term use.
@@ -182,18 +182,18 @@ Tcl_SetStartupScript(
Tcl_Obj *
Tcl_GetStartupScript(
- const char **encodingNamePtr) /* When not NULL, points to storage for the
+ const char **encodingPtr) /* When not NULL, points to storage for the
* (const char *) that points to the
* registered encoding name for the startup
* script. */
{
ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey);
- if (encodingNamePtr != NULL) {
+ if (encodingPtr != NULL) {
if (tsdPtr->encoding != NULL) {
- *encodingNamePtr = Tcl_GetString(tsdPtr->encoding);
+ *encodingPtr = Tcl_GetString(tsdPtr->encoding);
} else {
- *encodingNamePtr = NULL;
+ *encodingPtr = NULL;
}
}
return tsdPtr->path;