HomeFreeBSD

Only set _w to 0 when the file stream is not currently reading. Without
rS236288Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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

Details

Provenance
eadlerAuthored on
Parents
rS236287: add missing variable declaration when DEBUG is defined forgotten in
Branches
Unknown
Tags
Unknown

Event Timeline