Skip to content
Tcl Source Code Artifact [74c27f43eb]
Login

Artifact [74c27f43eb]

Artifact 74c27f43eb21c8b3eb87b015be0a8567bbd7619b:

Manifest of check-in [74c27f43eb] - * generic/tclIO.c (Tcl_SetChannelBufferSize): Lowest size limit * tests/io.test: changed from ten bytes to one byte. Need * tests/iogt.test: for this change was proven by Ross Cartlidge <[email protected]> where [read stdin 1] was grabbing 10 bytes followed by starting a child process that was intended to continue reading from stdin. Even with -buffersize set to one, nine chars were getting lost by the buffersize over reading for the native read() caused by [read]. by davygrvy on 2005-04-14 07:09:34.
B 482141dca97e352b13fd83ab7f2aea1425399aa1
C *\sgeneric/tclIO.c\s(Tcl_SetChannelBufferSize):\sLowest\ssize\slimit\n*\stests/io.test:\s\tchanged\sfrom\sten\sbytes\sto\sone\sbyte.\s\sNeed\n*\stests/iogt.test:\tfor\sthis\schange\swas\sproven\sby\nRoss\sCartlidge\s<[email protected]>\swhere\s[read\sstdin\s1]\swas\sgrabbing\n10\sbytes\sfollowed\sby\sstarting\sa\schild\sprocess\sthat\swas\sintended\sto\ncontinue\sreading\sfrom\sstdin.\s\sEven\swith\s-buffersize\sset\sto\sone,\nnine\schars\swere\sgetting\slost\sby\sthe\sbuffersize\sover\sreading\sfor\nthe\snative\sread()\scaused\sby\s[read].\n
D 2005-04-14T07:09:34
F ChangeLog e5f97379ebfb6b3bea9228e1eacfc2b9a493c989
F compat/strstr.c 73a4a8aeab46e9355d8f70d46271d704341f9086
F generic/tclIO.c 679446ca914893309cd71e00e32d9b9b2481d9d9
F macosx/README 0eaaeeeae161df1bd49ad53b4c82d439860c7f5e
F tests/io.test 8a83a7792bb118fe022f4ec49efa1281f7179992
F tests/iogt.test 4051d509ae99ff12c379dba0385df1b9c64d411d
P ccf59bad268f428f45382113bd9d195699406d4f
U davygrvy
Z 4886f7566b29a942d0636cc55c8a7b78