Eitan Adler e5d9109aab 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-08 18:56:21 +00:00
2012-05-12 07:52:45 +00:00
2012-03-26 19:23:57 +00:00
2012-03-28 19:20:28 +00:00
2012-05-11 20:06:46 +00:00
2012-03-06 03:30:09 +00:00
2012-05-23 10:35:40 +00:00
2012-05-13 14:16:04 +00:00
2012-05-11 20:06:46 +00:00
2012-05-11 20:06:46 +00:00
2012-05-11 20:06:46 +00:00
2011-07-10 06:57:00 +00:00