Josh Pieper wrote:
> Branko ??ibej wrote:
[snip]
>
>>>+ 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'",
file_name);
}
DJ
---------------------------------------------------------------------
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