For the record:
Quoting the GNU C library manual:
If you want to append to the file, setting the file position to
the current end of file with SEEK_END is not sufficient. Another
process may write more data after you seek but before you write,
extending the file so the position you write onto clobbers their
data. Instead, use the O_APPEND operating mode; see section
13.14.3 I/O Operating Modes.
Someone more knowledgeable about source should comment how that
influence the problem at hand.
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]