diff --git a/man-db-2.6.1-locale-fallback.patch b/man-db-2.6.1-locale-fallback.patch index 7a81d78..e749d5a 100644 --- a/man-db-2.6.1-locale-fallback.patch +++ b/man-db-2.6.1-locale-fallback.patch @@ -17,7 +17,7 @@ diff -upr man-db-2.6.1.orig/lib/encodings.c man-db-2.6.1/lib/encodings.c + if (!supported) { + if (strlen (charset) >= (size_t) 5 + && strncmp (charset, "UTF-8", (size_t) 5) == 0) { -+ locale = "en_US.UTF-8"; ++ locale = xstrdup("en_US.UTF-8"); + if (setlocale (LC_CTYPE, locale)) { + setlocale (LC_CTYPE, saved_locale); + return locale; diff --git a/man-db.spec b/man-db.spec index f209fc5..47d821f 100644 --- a/man-db.spec +++ b/man-db.spec @@ -124,6 +124,8 @@ install -D -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/man-db - resolves: #858577 updated to 2.6.3 - cleaned .spec file +- resolves: #855632 + fixed SIGABRT crash * Tue Jul 31 2012 Peter Schiffer - 2.6.2-5 - resolves: #841431