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

Re: RFC: svn_io_file_flush_to_disk

From: D.J. Heap <dj_at_shadyvale.net>
Date: 2004-05-01 18:06:19 CEST

Josh Pieper wrote:
> Branko ??ibej wrote:
>>>+ FlushFileBuffers (filehand);
>>How about checking the return value here, too?
> I would have, but I don't know how. I copied the code for flushing on
> Windows verbatim from another APR function, which did not check the
> error code.

It would be something like:

   if (!FlushFileBuffers (filehand))
       return svn_error_wrap_apr (apr_get_os_error (),
                                  "Can't flush '%s'",


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 1 18:06:35 2004

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.