| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Someone pointed out the fpurge() function.
Calling fpurge() on the reader before the 2nd read fixes the
problem. From: I’ve found what I consider to be a stream IO bug.
The code below can be compiled with g++ to easily illustrate the problem.
Here’s what’s happening:
Is this is a bug in Here’s my test case code. BTW, it 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
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.