+---------- On Feb 22, Jim Wilcoxson said: > I just tried your idea and it works correctly if flush is added. I > figured this is probably a libc bug but thought I'd post it here in > case others have trouble with it. Might be a good idea to add a flush > inside ns_ftruncate as a workaround.
Tcl doesn't use stdio for channels. Making ns_ftruncate call Tcl_Flush is the correct fix, not just a workaround.
