This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Avoid use of ftruncate() in libgcov


Richard Sandiford <rsandifo@redhat.com> writes:
> But why is that any worse than the other scenarios in which data
> from one instance is lost?

Sorry, I obviously need to go back to class.  I'd forgotten it was
possible for two processes to have the same file open for writing
at the same time.  Duh.

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]