summaryrefslogtreecommitdiffstats
path: root/generic/tclMain.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-04 15:15:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-04 15:15:17 (GMT)
commitefa3f20107fd11d11b28c05948305af61885a33d (patch)
tree1ea01a2eecb8cc011121396613f75965a000dff3 /generic/tclMain.c
parent654d14d706b3f2d084823945876a3df8f2de0abd (diff)
parentee793dfa1eadb249a50933784a47bacc5d63ca14 (diff)
downloadtcl-efa3f20107fd11d11b28c05948305af61885a33d.zip
tcl-efa3f20107fd11d11b28c05948305af61885a33d.tar.gz
tcl-efa3f20107fd11d11b28c05948305af61885a33d.tar.bz2
Merge 8.7. Use more TCL_INDEX_NONE in documentation/headers/code.
Diffstat (limited to 'generic/tclMain.c')
-rw-r--r--generic/tclMain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c
index 848ad18..38612b2 100644
--- a/generic/tclMain.c
+++ b/generic/tclMain.c
@@ -472,7 +472,7 @@ Tcl_MainEx(
Tcl_IncrRefCount(is.commandPtr);
}
length = Tcl_GetsObj(is.input, is.commandPtr);
- if (length == TCL_AUTO_LENGTH) {
+ if (length == TCL_INDEX_NONE) {
if (Tcl_InputBlocked(is.input)) {
/*
* This can only happen if stdin has been set to
@@ -749,7 +749,7 @@ StdinProc(
Tcl_IncrRefCount(commandPtr);
}
length = Tcl_GetsObj(chan, commandPtr);
- if (length == TCL_AUTO_LENGTH) {
+ if (length == TCL_INDEX_NONE) {
if (Tcl_InputBlocked(chan)) {
return;
}