[2293] in testers
Solaris destroying files
daemon@ATHENA.MIT.EDU (John Carr)
Fri Jul 30 13:11:16 1993
To: mlbarrow@Athena.MIT.EDU, testers@Athena.MIT.EDU
Date: Fri, 30 Jul 1993 13:09:40 EDT
From: John Carr <jfc@Athena.MIT.EDU>
I never saw a formal bug report, but wdc ran into the same problem in an
Andrew build. The fix there turned out to be to read the file before
appending it. i.e. "cp foo /tmp; cat >> foo" worked but "cat >> foo" alone
did not.
I believe this is a problem with memory mapped I/O; the nulls in wdc's
Makefiles started on a 4K boundary and extended to the end of the original
file. This appeared to happen only in AFS but was hard to reproduce with
simple commands (but Andrew makedepend triggered the bug with 100%
reliability).