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

Re: svn commit: r37474 - in trunk/subversion: include libsvn_client libsvn_wc svn

From: Greg Stein <gstein_at_gmail.com>
Date: Sun, 26 Apr 2009 21:23:44 +0200

On Sat, Apr 25, 2009 at 23:02, Bert Huijben <rhuijben_at_sharpsvn.net> wrote:
> Author: rhuijben
> Date: Sat Apr 25 14:02:17 2009
> New Revision: 37474
>
> Log:
> Use streams for parsing the SVNPATCH blocks instead of rewrapping apr_file_t*
> handles every time.
>
> * subversion/include/svn_wc.h
>  (svn_wc_apply_svnpatch): Accept svn_stream_t instead of apr_file_t.
> * subversion/libsvn_client/patch.c
>  (includes): Include svn_subst.h
>  (SVNPATCH_DELETE_WHEN): Use svn_io_file_del_on_pool_cleanup to allow reopening
>    a stream.

I don't understand this change. You reset a stream, rather than
reopen. So why the change?

Cheers,
-g

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1933239
Received on 2009-04-26 21:24:07 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.