diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-06-04 15:15:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-06-04 15:15:17 (GMT) |
commit | efa3f20107fd11d11b28c05948305af61885a33d (patch) | |
tree | 1ea01a2eecb8cc011121396613f75965a000dff3 /generic/tclMain.c | |
parent | 654d14d706b3f2d084823945876a3df8f2de0abd (diff) | |
parent | ee793dfa1eadb249a50933784a47bacc5d63ca14 (diff) | |
download | tcl-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.c | 4 |
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; } |