Currently CVS does a single select on the stdout fileno before dumping as much data as it last received from the network to stdout via fwrite. There is *no looping or checking for EAGAIN returns*, which I believe you advocated but, I am informed by Larry Jones and Paul Eggert, would likely be unportable to non-GNU systems.
What do you mean by "unportable"? As far as I can see, that change could not do any harm on any system. If it fixes the problem on GNU systems, that's an important improvement, so why not do it? So would you please install that change? I would much prefer to be able to rely on stdio for a situation like this. It sounds like you can rely on stdio on a GNU system. If other systems don't handle this reliably, maybe that is their fault. You could report bugs in fwrite if they fail to write the data and don't return EAGAIN. _______________________________________________ Bug-cvs mailing list Bug-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cvs