Matthew Woehlke <mw_triad@users.sourceforge.net>


Found Patch
r876857 r876873

r876873 | cmpilato | 2009-03-26 15:23:19 -0500 (Thu, 26 Mar 2009)

Do some syntax jigglin' and jugglin' to satisfy strict C89 compilers.

* subversion/libsvn_subr/cache-memcache.c
  (svn_cache__create_memcache): Individually set a function pointer
    and a baton pointer to 0 instead of NULL.

* subversion/libsvn_subr/dirent_uri.c
  (path_type_t): Lose comma after last enum value.  Works for Python,
    not for ANSI C.

* subversion/tests/libsvn_subr/opt-test.c
  (test_svn_opt_args_to_target_array2): Initialize stack-allocated
    structures that have non-static member values to { 0 }, then
    populate their members explicitly post-declaration.

* subversion/tests/libsvn_client/client-test.c
  (test_args_to_target_array): Same.

* subversion/svn/util.c
  (svn_cl__merge_file_externally): Same.

* subversion/libsvn_wc/deprecated.c
  (svn_wc_walk_entries2): Same.

* subversion/libsvn_client/deprecated.c
  (svn_client_status3): Same.

* subversion/libsvn_client/mergeinfo.c
  (svn_client__elide_mergeinfo_catalog): Same.

* subversion/libsvn_client/merge.c
  (merge_file_changed, get_mergeinfo_paths): Same.

* subversion/libsvn_client/log.c
  (svn_client__get_copy_source): Same.

* subversion/libsvn_fs_fs/fs_fs.c
  (svn_fs_fs__pack): Same.

Patch by: Matthew Woehlke <mw_triad{_AT_}users.sourceforge.net>
          (Tweaked by me.)


r876857 | blair | 2009-03-25 17:43:08 -0500 (Wed, 25 Mar 2009)

* subversion/libsvn_client/merge.c
  (find_unmerged_mergeinfo):
    Dereference a pointer to a svn_revnum_t to check if it's a valid
    revision.

Found by: mw_triad@users.sourceforge.net