summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2023-05-04 20:26:19 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2023-05-04 20:26:19 (GMT)
commitcc71607cb85a8d6266a40aad0c4b9bbe772efb35 (patch)
treea53d5287d50c68bae32378a283db190ac06c38ae /generic/tclIO.c
parent405a0993845a2f20b043d32d6efe967b3c57a5e9 (diff)
downloadtcl-cc71607cb85a8d6266a40aad0c4b9bbe772efb35.zip
tcl-cc71607cb85a8d6266a40aad0c4b9bbe772efb35.tar.gz
tcl-cc71607cb85a8d6266a40aad0c4b9bbe772efb35.tar.bz2
Make some tests select an encoding profile instead of relying on the default.
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r--generic/tclIO.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index 21aef59..987f6b9 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -5931,7 +5931,7 @@ DoReadChars(
if (GotFlag(statePtr, CHANNEL_ENCODING_ERROR)) {
ResetFlag(statePtr, CHANNEL_EOF|CHANNEL_ENCODING_ERROR);
- /* TODO: We don't need this call? */
+ /* TODO: UpdateInterest not needed here? */
UpdateInterest(chanPtr);
Tcl_SetErrno(EILSEQ);
return -1;
@@ -5948,7 +5948,7 @@ DoReadChars(
assert(statePtr->inputEncodingFlags & TCL_ENCODING_END);
assert(!GotFlag(statePtr, CHANNEL_BLOCKED|INPUT_SAW_CR));
- /* TODO: We don't need this call? */
+ /* TODO: UpdateInterest not needed here? */
UpdateInterest(chanPtr);
return 0;
}
@@ -5962,7 +5962,7 @@ DoReadChars(
}
ResetFlag(statePtr, CHANNEL_BLOCKED|CHANNEL_EOF);
statePtr->inputEncodingFlags &= ~TCL_ENCODING_END;
- /* TODO: We don't need this call? */
+ /* TODO: UpdateInterest not needed here? */
UpdateInterest(chanPtr);
return 0;
}
@@ -6009,7 +6009,7 @@ DoReadChars(
}
/*
- * If the current buffer is empty recycle it.
+ * Recycle current buffer if empty.
*/
bufPtr = statePtr->inQueueHead;