parent
b6c4b8a5cd
commit
7eb2871dd5
@ -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 (!supported) {
|
||||||
+ if (strlen (charset) >= (size_t) 5
|
+ if (strlen (charset) >= (size_t) 5
|
||||||
+ && strncmp (charset, "UTF-8", (size_t) 5) == 0) {
|
+ && strncmp (charset, "UTF-8", (size_t) 5) == 0) {
|
||||||
+ locale = "en_US.UTF-8";
|
+ locale = xstrdup("en_US.UTF-8");
|
||||||
+ if (setlocale (LC_CTYPE, locale)) {
|
+ if (setlocale (LC_CTYPE, locale)) {
|
||||||
+ setlocale (LC_CTYPE, saved_locale);
|
+ setlocale (LC_CTYPE, saved_locale);
|
||||||
+ return locale;
|
+ return locale;
|
||||||
|
@ -124,6 +124,8 @@ install -D -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/man-db
|
|||||||
- resolves: #858577
|
- resolves: #858577
|
||||||
updated to 2.6.3
|
updated to 2.6.3
|
||||||
- cleaned .spec file
|
- cleaned .spec file
|
||||||
|
- resolves: #855632
|
||||||
|
fixed SIGABRT crash
|
||||||
|
|
||||||
* Tue Jul 31 2012 Peter Schiffer <pschiffe@redhat.com> - 2.6.2-5
|
* Tue Jul 31 2012 Peter Schiffer <pschiffe@redhat.com> - 2.6.2-5
|
||||||
- resolves: #841431
|
- resolves: #841431
|
||||||
|
Loading…
Reference in New Issue
Block a user