summaryrefslogtreecommitdiff
path: root/debian/patches/last-changed-date-charset
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/last-changed-date-charset')
-rw-r--r--debian/patches/last-changed-date-charset8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/last-changed-date-charset b/debian/patches/last-changed-date-charset
index fd156c8..9f759f9 100644
--- a/debian/patches/last-changed-date-charset
+++ b/debian/patches/last-changed-date-charset
@@ -12,7 +12,7 @@ Not accepted upstream: http://svn.haxx.se/dev/archive-2006-04/0730.shtml
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/subversion/libsvn_subr/subst.c b/subversion/libsvn_subr/subst.c
-index c8c3018..b69f90a 100644
+index c8c3018..a1213cb 100644
--- a/subversion/libsvn_subr/subst.c
+++ b/subversion/libsvn_subr/subst.c
@@ -210,8 +210,12 @@ keyword_printf(const char *fmt,
@@ -21,10 +21,10 @@ index c8c3018..b69f90a 100644
if (date)
- svn_stringbuf_appendcstr(value,
- svn_time_to_human_cstring(date, pool));
-+ {
++ {
+ char *date_keyword;
-+ char *date_utf8 = svn_time_to_human_cstring (date, pool);
-+ svn_utf_cstring_from_utf8(&date_keyword, date_utf8, pool);
++ char *date_utf8 = svn_time_to_human_cstring(date, pool);
++ SVN_ERR(svn_utf_cstring_from_utf8(&date_keyword, date_utf8, pool));
+ svn_stringbuf_appendcstr(value, date_keyword);
+ }
break;