[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Need logging facilities

From: <rbb_at_rkbloom.net>
Date: 2003-01-24 19:08:44 CET

On Fri, 24 Jan 2003, Greg Stein wrote:

 On Fri, Jan 24, 2003 at 07:53:56AM -0800, Jay 'Whip' Grizzard wrote:
  So, end translation: O_APPEND rocks, and guarantees non-corruption on any
  POSIXly compliant system, with the possible exception of NFS filesystems
  with multiple client systems writing to the same file. As long as APR
  requires a system to be POSIXly compliant, it can rely on O_APPEND to
  be able to append to the end of a file without corruption.

 Ah. Well, I was on a Linux system, so I probably didn't get the file open in
 O_APPEND mode. I may have used FILE*, too, which could muck it up.


 The fifo worked, so I stuck with it :-)

As it happens, APR doesn't require a POSIX compliant system. Windows, for
example, has no way to easily open a file for APPEND (when using multiple
threads and native system calls).


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:14:23 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.