Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/miscfs/fifofs



Module Name:    src
Committed By:   martin
Date:           Mon Mar 17 00:06:24 UTC 2003

Modified Files:
        src/sys/miscfs/fifofs: fifo_vnops.c

Log Message:
Fix a race condition where a writer could already have closed the fifo
before the reader woke up - this made the reader loop again, waiting
for another writer, even though there was input available.

Thanks to Jaromir for spotting the real cause and sugesting a solution.

This should fix PR port-sparc64/20283.


To generate a diff of this commit:
cvs rdiff -r1.38 -r1.39 src/sys/miscfs/fifofs/fifo_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index