carta

ferror(3) on FreeBSD

The text a6e744e24af6, as FreeBSD 10.0-RELEASE shipped it.

check and reset stream status

ferror(3) on FreeBSD now