Checkout
Greg Stein
committed
on 14 Nov 08
Convert remaining uses of svn_io_open_unique_file2 to other function
calls, as appropriate.

* subversion/libsvn_subr/subst.c:
(svn_subst_… Show more
Convert remaining uses of svn_io_open_unique_file2 to other function

calls, as appropriate.

* subversion/libsvn_subr/subst.c:

 (svn_subst_copy_and_translate3, svn_subst_create_translated): switch to

   svn_stream_open_unique

* subversion/libsvn_subr/io.c:

 (svn_io_copy_file, svn_io_file_move): switch to svn_io_open_unique_file3.

 (reown_file): switch param from PATH_APR to just PATH. all the calls

   were to SVN functions, so we should not be using an APR path. switch

   to svn_io_open_unique_file3.

 (io_set_file_perms): pass svn-internal path to reown_file.

* subversion/mod_dav_svn/activity.c:

 (dav_svn__store_activity): lose a bunch of code in favor of

   svn_io_write_unique().

* subversion/tests/libsvn_repos/repos-test.c:

 (authz_get_handle): revamp to use svn_io_write_unique and other

   svn-style IO functions.

* subversion/svn/util.c:

 (svn_cl__edit_string_externally): change parameter to FILENAME rather

   than PREFIX. switch to svn_io_open_uniquely_named.

* subversion/libsvn_wc/props.c:

 (open_reject_tmp_file, svn_wc__merge_props): switch to

   svn_io_open_uniquely_named.

* subversion/libsvn_client/externals.c:

 (relegate_dir_external): switch to svn_io_uniquely_named.

* subversion/libsvn_fs_fs/fs_fs.c:

 (svn_fs_fs__set_revision_proplist): switch to svn_stream_open_unique

 (svn_fs_fs__set_uuid): revamp to use svn_io_write_unique

Show less