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

Re: svn_stream_copy3() in svn_io.h

From: Edmund Wong <ed_at_kdtc.net>
Date: Tue, 07 Apr 2009 19:32:08 +0800

Stefan Sperling wrote:

>> Does this mean that since svn_stream_copy3() calls
>> svn_stream_close() on both from and to, both from
>> and to are closed after the return? (Though I'm not sure if
>> the resulting closure will result in an error.)
>>
>> If it does mean so, shouldn't the TODO be 'removed'?
>
> All the SVN_ERR(...) calls might return if an error is
> thrown from the function wrapped in SVN_ERR().
>
> So I'd say the TODO is still valid.

Thanks for the clarification, Stefan. I'll keep that in
mind after reading all the header files.

Edmund

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1576044
Received on 2009-04-07 13:32:28 CEST

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.