You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2013/03/23 16:55:35 UTC
svn commit: r1460178 - /subversion/trunk/subversion/libsvn_repos/rev_hunt.c
Author: danielsh
Date: Sat Mar 23 15:55:35 2013
New Revision: 1460178
URL: http://svn.apache.org/r1460178
Log:
Use svn_hash_gets and svn_hash_sets.
This converts the one instance of APR_HASH_KEY_STRING left in the parts of the
code that were subjected to the search-and-replace (subversion/**/*.c except
subversion/tests/), which is not #ifdef'd away. I'm not sure why the
search-and-replace didn't match it.
* subversion/libsvn_repos/rev_hunt.c
(is_path_in_hash): s/apr_hash_get/svn_hash_gets/
Modified:
subversion/trunk/subversion/libsvn_repos/rev_hunt.c
Modified: subversion/trunk/subversion/libsvn_repos/rev_hunt.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/rev_hunt.c?rev=1460178&r1=1460177&r2=1460178&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/rev_hunt.c (original)
+++ subversion/trunk/subversion/libsvn_repos/rev_hunt.c Sat Mar 23 15:55:35 2013
@@ -1022,7 +1022,7 @@ is_path_in_hash(apr_hash_t *duplicate_pa
const char *key = apr_psprintf(pool, "%s:%ld", path, revision);
void *ptr;
- ptr = apr_hash_get(duplicate_path_revs, key, APR_HASH_KEY_STRING);
+ ptr = svn_hash_gets(duplicate_path_revs, key);
return ptr != NULL;
}