| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
stop segfaults in tests iocmd-21.2[12].
|
|
|
|
| |
socket address already in use}" by only setting returned error message if not jet set.
|
|
|
|
| |
error from a background flush). Ticket [97069ea11a]
|
| |
|
| |
|
|
|
|
|
| |
routine.
It's also static to the tclIO.c file.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
routine Write().
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
buffered I/O. Tcl's I/O now flushes buffered output before reading, discards buffered input before writing, etc.
|
|\
| |
| | |
Remove from tclIO.h.
|
| |
| |
| | |
Remove from tclIO.h.
|
| | |
|
|\ \
| |/
| | |
CloseCallback struct used only locally. Remove from tclIO.h.
|
| |
| |
| | |
CloseCallback struct is used only locally. Remove from tclIO.h.
|
| |
| |
| |
| | |
the same field, but it allows twoPtrValue.ptr2 to be used for other purposes.
|
|\ \
| |/
| | |
not the channel itself so that stacked channels do not cause trouble.
|
| |
| |
| | |
not the channel itself so that stacked channels do not cause trouble.
|
| |
| |
| | |
we plan to use it again.
|
| |
| |
| | |
we plan to use it again.
|
|\ \
| |/ |
|
| |
| |
| | |
On cygwin, install dll's in /usr/bin, not in /usr/lib
|
|\ \
| |/ |
|
|\ \
| |/
| | |
more harm than good. Purged them.
|
| |
| |
| | |
more harm than good. Purged them.
|
| |
| |
| |
| |
| |
| | |
* tests/io.test: which used the number of _written_ bytes or
character to update the counters for the read bytes/characters.
New test io-53.11. This is a backward port from the 8.5 branch.
|
| |
| |
| |
| |
| |
| | |
0-length writes. When closing pipes which have already been closed
not skipping leads to spurious SIG_PIPE signals. Reported by
Mikhail Teterin <mi+thun@aldan.algebra.com>.
|
| |
| |
| |
| | |
something that doesn't crash the test suite.
|
| |
| |
| |
| |
| |
| | |
Alexandre Ferrieux's patch for [Bug 2270477] to prevent infinite
looping during finalization of channels not bound to
interpreters.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the
[Bug 1965787]. 'tell' now works for locations > 2 GB as well
instead of going negative.
* generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by
* tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net>
to fix the [Bug 1969953]. Buffersize outside of the supported
range are now clipped to nearest boundary instead of ignored.
|
| |
| |
| |
| |
| |
| |
| | |
* io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>,
to shift EOF handling to the async part of the command if a
callback is specified, should the channel be at EOF already when
fcopy is called. Testcase by myself.
|
| |
| |
| |
| |
| |
| |
| | |
* generic/tclIO.c: Additional changes to data structures for fcopy
* generic/tclIO.h: and channels to perform proper cleanup in case
of a channel having two background copy operations running as is
now possible.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
TclCopyChannel): New macro, and the places using it. This change
allows for bi-directional fcopy on channels. Thanks to Alexandre
Ferrieux <ferrieux@users.sourceforge.net> for the patch.
* tests/io.test (io-53.9): Made test cleanup robust against the
possibility of slow process shutdown on Windows. Backported from
Kevin Kenny's change to the same test on the 8.5 and head
branches.
|
| |
| |
| |
| |
| |
| | |
* tests/io.test: prevent fcopy from calling -command synchronously
the first time. Thanks to Alexandre Ferrieux
<ferrieux@users.sourceforge.net> for report and patch.
|
| |
| |
| |
| |
| |
| |
| | |
[Bug 780533], with many thanks to Alexandre Ferrieux
<ferrieux@users.sourceforge.net> for tracking it down and
providing a solution. Still have to convert his test script into
a proper test case.
|
| | |
|
| |
| |
| |
| |
| | |
aka coverity #51. Extended loop condition, added checking for
NULL to prevent seg.fault.
|
| |
| |
| |
| | |
inheritance to be #defined out (default remains in).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commentary to a piece of code which relies on BUFFER_PADDING to
create enough space at the beginning of each buffer forthe
insertion of partial multi-byte data at the beginning of a
buffer. To explain why this code is ok, and as precaution if
someone twiddled the BUFFER_PADDING into uselessness.
* generic/tclIO.c (ReadChars): [SF Tcl Bug 1462248]. Added code
temporarily suppress the use of TCL_ENCODING_END set when eof
was reached while the buffer we are converting is not truly the
last buffer in the queue. together with the Utf bug below it was
possible to completely bollox the buffer data structures,
eventually crashing Tcl.
* generic/tclEncoding.c (UtfToUtfProc): Fixed problem where the
function accessed memory beyond the end of the input
buffer. When TCL_ENCODING_END is set and the last bytes of the
buffer start a multi-byte sequence. This bug contributed to [SF
Tcl Bug 1462248].
|
| | |
|