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

svn_io_file_create() tries to write out empty content

From: B. Wells <b_wells_at_appleisp.net>
Date: 2006-07-23 06:34:44 CEST

The function svn_io_file_create() in subversion/libsvn_subr/io.c
always tries to write out the supplied contents using
svn_io_file_write_full(), even if it is zero bytes in length. This
typically happens when Subversion is creating empty files for an FSFS
repository data store.

Is this attempt to write out zero bytes by design to ensure proper
file creation on certain file systems?

Or could the svn_io_file_create() function skip its call to
svn_io_file_write_full() when there is really no data to write out?

Thanks in advance,

– Brian Wells

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 23 06:35:14 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.