Author: ivan
Date: Sat Sep 19 19:36:21 2026
New Revision: 1938378
Log:
Fix bug in svn_wc_add_repos_file2(). This function is deprecated so it's not
a real problem in Subversion itself.
* subversion/libsvn_wc/deprecated.c
(svn_wc_add_repos_file2): Use svn_prop_get_value() instead of
svn_hash_gets() to get const char * from property hash.
Modified:
subversion/trunk/subversion/libsvn_wc/deprecated.c
Modified: subversion/trunk/subversion/libsvn_wc/deprecated.c
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/deprecated.c Sat Sep 19 19:22:48
2026 (r1938377)
+++ subversion/trunk/subversion/libsvn_wc/deprecated.c Sat Sep 19 19:36:21
2026 (r1938378)
@@ -3669,8 +3669,8 @@ svn_wc_add_repos_file2(const char *dst_p
}
svn_subst_eol_style_from_value(&eol_style, &eol_str,
- svn_hash_gets(new_props,
- SVN_PROP_EOL_STYLE));
+ svn_prop_get_value(
+ new_props, SVN_PROP_EOL_STYLE));
if (svn_subst_translation_required(eol_style, eol_str, keywords,
FALSE, FALSE))