Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 526121 - RFE: error number to string translation
Summary: RFE: error number to string translation
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: nss
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Kai Engert (:kaie) (inactive account)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-28 20:56 UTC by Miloslav Trmač
Modified: 2009-09-30 18:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-30 18:37:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 519773 0 None None None Never

Description Miloslav Trmač 2009-09-28 20:56:31 UTC
Please provide a way for an application that uses NSS to easily translate an error number into a string (translated to reflect the current locale, if possible) - from a quick look it seems PR_ErrorInstallTable() would be useful, or perhaps just make SECU_Strerror() available.

AFAICS currently a program that links to NSS must maintain it's own error number to string translation tables, which is rather ridiculous.

Comment 1 Kamil Dudka 2009-09-29 11:35:58 UTC
It looks like a good idea to me. We need exactly this in (lib)curl.

Comment 2 Kai Engert (:kaie) (inactive account) 2009-09-30 18:37:43 UTC
forwarded request to upstream
https://bugzilla.mozilla.org/show_bug.cgi?id=519773


Note You need to log in before you can comment on or make changes to this bug.