svn_stream_copy3() in svn_io.h
From: Edmund Wong <ed_at_kdtc.net>
Date: Tue, 07 Apr 2009 19:15:10 +0800
Hi,
Again, reading svn_io.h, I came across a "TODO" for the
* ### TODO: should close the streams ALWAYS, even on error exit
Thinking that it might be my chance to do something for a
svn_error_t *svn_stream_copy3(svn_stream_t *from, svn_stream_t *to,
/* Read and write chunks until we get a short read, indicating the
if (cancel_func)
SVN_ERR(svn_stream_read(from, buf, &len));
return svn_error_compose_create(svn_stream_close(from),
Does this mean that since svn_stream_copy3() calls
If it does mean so, shouldn't the TODO be 'removed'?
Thanks.
Edmund
------------------------------------------------------
|
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.