[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: <nas_at_mems-exchange.org>
Date: 2003-01-24 15:41:50 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
 O_APPEND.

write(2) is usually atomic as long as you are writing less data than the
block size. POSIX specifies this for writes to pipes or FIFOs. It
apparently doesn't say anything about writing to files but it works on
most Unix-like systems. I guess that means that the APR cannot depend
on it.

  Neil

---------------------------------------------------------------------
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:34 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.