From: Donal K. F. <don...@ma...> - 2009-11-26 09:07:23
|
Tom Jackson wrote: > I decided to refer to _Advanced Programming in the UNIX Environment_ > for insight into this particular problem. > > On page 126 (Chapter 5: Standard I/O Library): [...] > I think this pretty much explains my success with using [seek] prior > to every read/puts. We don't use the C standard library for I/O. This was originally because it sucked on Windows, but now is because it allows us to implement more operations correctly (EOL translation, encoding handling, the notifier, etc.) It seems that we've not got buffer flushing correct yet so that we can drop more of the restrictions that C imposes. In short: Damnit! We're Tclers! We'll do this _Right_! Donal. |