GNU Source Installer - Patches: patch #6331, patch for libsrcinst/strerror.c...
You are not allowed to post comments on this tracker with your current authentication level.
patch #6331: patch for libsrcinst/strerror.c needed
Submitter: | Jorma Karvonen <jormak> | ||
Submitted: | Thu 06 Dec 2007 09:01:55 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Invalid | Privacy: | Public |
Assigned to: | None | Open/Closed: | Closed |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2007-12-08 | sick_soul | Status | None | Invalid | |
Open/Closed | Open | Closed | |||
2007-12-06 | jormak | Carbon-Copy | - | Added jormak |
Powered by Savane 3.13-4b48.
Corresponding source code
The following array should be replaced by some other solution for localization purposes. You can't only set gettext( "core error" ), because the return value is not constant.
static char *_error_strings[] = {
"", /* SRCINST_ERR_OK */
"core error", /* SRCINST_ERR_CORE */
"heap error", /* SRCINST_ERR_HEAP */
"regular expression error", /* SRCINST_ERR_REGEX */
"user lock-file error", /* SRCINST_ERR_LOCK */
"action error", /* SRCINST_ERR_ACTION */
"parser error", /* SRCINST_ERR_PARSER */
"permission denied", /* SRCINST_ERR_PERM */
"invalid", /* SRCINST_ERR_INVALID */
"missing", /* SRCINST_ERR_MISSING */
"policy error", /* SRCINST_ERR_POLICY */
"interrupted", /* SRCINST_ERR_INTR */
"resource already exists", /* SRCINST_ERR_BUSY */
0
};