[man-db/f17] - resolves: #855632 fixed SIGABRT crash
pschiffe
pschiffe at fedoraproject.org
Wed Oct 24 16:58:23 UTC 2012
commit cd236426fd4fd916e6b14d936bfd2c101bd00fa5
Author: Peter Schiffer <pschiffe at redhat.com>
Date: Wed Oct 24 18:58:04 2012 +0200
- resolves: #855632
fixed SIGABRT crash
man-db-2.6.0.2-locale-fallback.patch | 2 +-
man-db.spec | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/man-db-2.6.0.2-locale-fallback.patch b/man-db-2.6.0.2-locale-fallback.patch
index d3ddc27..881f6d1 100644
--- a/man-db-2.6.0.2-locale-fallback.patch
+++ b/man-db-2.6.0.2-locale-fallback.patch
@@ -17,7 +17,7 @@ diff -upr man-db-2.6.0.2.orig/lib/encodings.c man-db-2.6.0.2/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 bf82453..f4f9c4a 100644
--- a/man-db.spec
+++ b/man-db.spec
@@ -3,7 +3,7 @@
Summary: Tools for searching and reading man pages
Name: man-db
Version: 2.6.0.2
-Release: 8%{?dist}
+Release: 9%{?dist}
# project man-db GPLv2+
# Gnulib part GPLv3+
License: GPLv2+ and GPLv3+
@@ -134,6 +134,10 @@ rm -rf $RPM_BUILD_ROOT
%lang(ja) %{_datadir}/man/ja/man*/*
%changelog
+* Wed Oct 24 2012 Peter Schiffer <pschiffe at redhat.com> - 2.6.0.2-9
+- resolves: #855632
+ fixed SIGABRT crash
+
* Tue Jul 31 2012 Peter Schiffer <pschiffe at redhat.com> - 2.6.0.2-8
- resolves: #841431
ignore cached man pages if they don't exist anymore
More information about the scm-commits
mailing list