eadler cab3b5ae21 Only set _w to 0 when the file stream is not currently reading. Without
this fflush may fail to write data in the buffer.

PR:		kern/137819
Submitted by:	Eric Blake <ebb9@byu.net>
Reviewed by:	theraven
Approved by:	cperciva
MFC after:	2 weeks
2012-05-30 04:06:38 +00:00
..
2012-05-11 20:06:46 +00:00
2012-05-11 20:06:46 +00:00
2012-02-11 20:43:01 +00:00
2012-04-18 07:02:53 +00:00
2012-05-11 20:06:46 +00:00
2012-05-26 17:10:16 +00:00
2012-03-29 06:19:00 +00:00
2012-03-23 23:07:02 +00:00
2012-05-11 20:06:46 +00:00
2012-05-24 21:44:46 +00:00
2012-05-11 20:06:46 +00:00
2012-05-12 15:08:22 +00:00
2012-02-25 14:31:25 +00:00