I've found what I consider to be a stream IO bug. Here's what's
happening:
[snip]
Is this is a bug? Are there any work arounds?
I wouldn't think this is a bug. Stream IO is buffered. Just because
you flushed the output doesn't mean you flushed the input. I would
expect it to read from its buffer. Try fpurge(3). It seems to be a BSD
function, though.
I wrote a simple test case to demonstrate this problem, which passes
on
Solaris.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden
This email sent to email@hidden