[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: <esm_at_logic.net>
Date: 2003-01-24 15:49:13 CET

On Fri, Jan 24, 2003 at 09:26:19AM -0500, Greg Ward wrote:
 Huh? Pardon my ignorance, but I thought the whole point of Unix'
 append mode was to avoid this -- ie. I thought that the kernel always
 guarantees you're at eof when you write() to a file opened with

open(2) on Linux says:

              The file is opened in append mode. Before each write, the file
              pointer is positioned at the end of the file, as if with lseek.
              O_APPEND may lead to corrupted files on NFS file systems if more
              than one process appends data to a file at once. This is
              because NFS does not support appending to a file, so the client
              kernel has to simulate it, which can't be done without a race

So, you're horked for NFS at least.

Edward S. Marshall esm@logic.net
Felix qui potuit rerum cognoscere causas.
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:13:36 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.