Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 636279 Details for
Bug 817187
GRUB2 error: file '/boot/grub2/locale/en.mo.gz' not found
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Suppress gettext error message (Colin's patch)
suppress-gettext-error-message.patch (text/plain), 914 bytes, created by
Paulo Flabiano Smorigo
on 2012-10-31 18:59:05 UTC
(
hide
)
Description:
Suppress gettext error message (Colin's patch)
Filename:
MIME Type:
Creator:
Paulo Flabiano Smorigo
Created:
2012-10-31 18:59:05 UTC
Size:
914 bytes
patch
obsolete
>From 023ccdbc0674dd7b3702734b28a37b4ee6d7392d Mon Sep 17 00:00:00 2001 >From: Paulo Flabiano Smorigo <pfsmorigo@br.ibm.com> >Date: Wed, 31 Oct 2012 16:44:22 -0200 >Subject: [PATCH] Suppress gettext error message (Colin's patch) > >Colin Watson's patch from comment #11 on the upstream bug: >https://savannah.gnu.org/bugs/?35880#comment11 >--- > grub-core/gettext/gettext.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/grub-core/gettext/gettext.c b/grub-core/gettext/gettext.c >index 569f985..eb4bb5d 100644 >--- a/grub-core/gettext/gettext.c >+++ b/grub-core/gettext/gettext.c >@@ -412,6 +412,14 @@ grub_gettext_init_ext (struct grub_gettext_context *ctx, > > grub_free (lang); > } >+ >+ /* If no translations are available, fall back to untranslated text. */ >+ if (err == GRUB_ERR_FILE_NOT_FOUND) >+ { >+ grub_errno = GRUB_ERR_NONE; >+ return 0; >+ } >+ > return err; > } > >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 817187
:
582688
| 636279 |
649450
|
745776