patchGNU 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

Thu 06 Dec 2007 09:01:55 PM UTC, original submission:  

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
};

Jorma Karvonen <jormak>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sick_soul (Updated the item)
  • -email is unavailable- added by jormak (Submitted the item)
  • -email is unavailable- added by jormak (patch for libsrcinst/strerror.c needed)
  •  

    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 StatusNone Invalid
        Open/ClosedOpen Closed
    2007-12-06 jormak Carbon-Copy- Added jormak

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code