All pastes #28585 Raw Edit

Anonymous

public text v1 · immutable
#28585 ·published 2005-11-13 17:12 UTC
rendered paste body
+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));
+}