Checkout
rhuijben
committed
on 27 Jan 14
Following up on r1561688, switch almost every caller of svn_stream_read() to
its successor svn_stream_read_full(). Do this to resolve many d… Show more
Following up on r1561688, switch almost every caller of svn_stream_read() to

its successor svn_stream_read_full(). Do this to resolve many deprecation

warnings (and to avoid somebody else accidentally doing the invalid conversion

to svn_stream_read2()).

There are no functional changes as svn_stream_read() is a direct call to

svn_stream_read_full().

* subversion/libsvn_delta/svndiff.c

 (read_one_byte): Update caller.

* subversion/libsvn_delta/text_delta.c

 (txdelta_next_window,

  tpush_write_handler,

  apply_window,

  svn_txdelta_send_stream): Update caller.

* subversion/libsvn_fs_base/lock.c

 (svn_fs_base__get_locks): Update caller.

* subversion/libsvn_fs_fs/recovery.c

 (read_handler_recover): Update caller.

* subversion/libsvn_fs_x/cached_data.c

 (get_dir_contents): Update caller.

* subversion/libsvn_fs_x/pack.c

 (write_reps_containers): Update caller.

* subversion/libsvn_repos/load.c

 (read_key_or_val,

  parse_text_block,

  svn_repos_parse_dumpstream3): Update caller.

* subversion/libsvn_subr/config_file.c

 (parser_getc): Update caller.

* subversion/libsvn_subr/hash.c

 (svn_hash__read_entry):

* subversion/libsvn_subr/packed_data.c

 (read_stream_uint,

  read_stream_data,

  svn_packed__data_read): Update caller.

* subversion/libsvn_subr/subst.c

 (translated_stream_read,

  read_handler_special): Update caller.

* subversion/libsvn_wc/adm_crawler.c

 (read_handler_copy): Update caller.

* subversion/mod_dav_svn/repos.c

 (deliver): Update caller.

* subversion/svnserve/serve.c

 (get_file): Update caller.

* subversion/tests/libsvn_subr/spillbuf-test.c

 (test_spillbuf_stream): Update caller.

* subversion/tests/libsvn_subr/stream-test.c

 (test_stream_from_string,

  test_stream_compressed,

  test_stream_seek_stringbuf,

  test_stream_seek_translated,

  test_stream_compressed_empty_file): Update caller.

* subversion/tests/libsvn_wc/pristine-store-test.c

 (pristine_delete_while_open): Update caller.

* subversion/tests/svn_test_fs.c

 (svn_test__stream_to_string): Update caller.

* tools/server-side/fsfs-stats.c

 (read_windows): Update caller.

Show less