Anonymous
public text v1 · immutable+svn_boolean_t
+svn_subst_translation_required (svn_subst_eol_style_t style,
+ const char *eol,
+ apr_hash_t *keywords,
+ svn_boolean_t special,
+ svn_boolean_t force_repair)
+{
+ return (special || keywords
+ || (style == svn_subst_eol_style_fixed && force_repair)
+ || (style == svn_subst_eol_style_native &&
+ strcmp (APR_EOL_STR, SVN_SUBST__DEFAULT_EOL_STR) != 0)
+ || (style == svn_subst_eol_style_fixed &&
+ strcmp (APR_EOL_STR, eol) != 0));
+}