[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-sourceinstall] [patch #6310] patch for libsrcinst/srcinst.c
From: |
Jorma Karvonen |
Subject: |
[bug-sourceinstall] [patch #6310] patch for libsrcinst/srcinst.c |
Date: |
Thu, 06 Dec 2007 20:29:02 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; fi-FI; rv:1.8.1.8) Gecko/20071015 SUSE/2.0.0.8-1.2 Firefox/2.0.0.8 |
URL:
<http://savannah.gnu.org/patch/?6310>
Summary: patch for libsrcinst/srcinst.c
Project: GNU Source Installer
Submitted by: jormak
Submitted on: Thursday 12/06/2007 at 22:29
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
0a1
>
23c24,26
<
---
> #ifdef HAVE_NLS
> # include <locale.h>
> #endif
100,101c103,104
< "could not write preferences",
< _srcinst_state.files[SRCINST_FILE_CFG]);
---
> gettext ( "could not write preferences" ),
> _srcinst_state.files[SRCINST_FILE_CFG]); /*
> warning: passing
argument 2 of ‘srcinst_warning’ makes pointer from integer without a cast
*/
106c109
< srcinst_warning(SRCINST_ERR_CORE, "could not load preferences", 0);
---
> srcinst_warning(SRCINST_ERR_CORE, gettext ( "could not load preferences"
), 0); /* warning: passing argument 2 of ‘srcinst_warning’ makes pointer
from integer without a cast */
112c115
< "could not register signal handlers", 0);
---
> gettext ( "could not register signal handlers" ), 0);
> /* warning:
passing argument 2 of ‘srcinst_warning’ makes pointer from integer without
a cast */
119,120c122,123
< srcinst_warning(SRCINST_ERR_CORE, "could not load package list",
< 0);
---
> srcinst_warning(SRCINST_ERR_CORE, gettext ( "could not load package
> list"
),
> 0); /* warning: passing argument 2 of ‘srcinst_warning’
> makes
pointer from integer without a cast */
335,336c338,339
< srcinst_warning(SRCINST_ERR_LOCK, "cannot open lockfile",
< lockfile);
---
> srcinst_warning(SRCINST_ERR_LOCK, gettext ( "cannot open lockfile" ),
> lockfile); /* warning: passing argument 2 of
> ‘srcinst_warning’ makes
pointer from integer without a cast */
342c345
< srcinst_warning(SRCINST_ERR_LOCK, "could not lock file", lockfile);
---
> srcinst_warning(SRCINST_ERR_LOCK, gettext ( "could not lock file" ),
lockfile); /* warning: passing argument 2 of ‘srcinst_warning’ makes
pointer from integer without a cast */
349,350c352,353
< srcinst_warning(SRCINST_ERR_LOCK, "seems to be held by process",
< pid_str);
---
> srcinst_warning(SRCINST_ERR_LOCK, gettext ( "seems to be held by
> process"
),
> pid_str); /* warning: passing argument 2 of
> ‘srcinst_warning’ makes
pointer from integer without a cast */
368c371
< srcinst_warning(SRCINST_ERR_LOCK, "error closing lockfile", fname);
---
> srcinst_warning(SRCINST_ERR_LOCK, gettext ( "error closing lockfile" ),
fname); /* warning: passing argument 2 of ‘srcinst_warning’ makes pointer
from integer without a cast */
391c394
< "cannot access directory", dirname);
---
> gettext ( "cannot access directory" ),
> dirname); /* warning: passing
argument 2 of ‘srcinst_warning’ makes pointer from integer without a cast
*/
397,398c400,401
< srcinst_warning(SRCINST_ERR_CORE, "cannot create directory",
< dirname);
---
> srcinst_warning(SRCINST_ERR_CORE, gettext ( "cannot create
> directory"
),
> dirname); /* warning: passing argument 2 of
> ‘srcinst_warning’
makes pointer from integer without a cast */
433,435c436,437
< srcinst_warning(SRCINST_ERR_CORE, "cannot find env variable HOME",
< 0);
< return 0;
---
> srcinst_warning(SRCINST_ERR_CORE, gettext ( "cannot find env variable
HOME" ),
> 0); /* warning: passing argument 2 of ‘srcinst_warning’
> makes
pointer from integer without a cast */
440,441c442,443
< "could not get current directory",
< "_init_pathnames");
---
> gettext ( "could not get current directory" ),
> "_init_pathnames"); /* warning: passing argument 2 of
‘srcinst_warning’ makes pointer from integer without a cast */
610,611c612,613
< "could not finalize build on package close",
< 0);
---
> gettext ( "could not finalize build on package
> close" ),
> 0); /* warning: passing argument 2 of
> ‘srcinst_warning’ makes
pointer from integer without a cast */
616,617c618,619
< "could not clear build dirs "
< "on package close", 0);
---
> gettext ( "could not clear build dirs "
> "on package close" ), 0); /* warning: passing
> argument 2 of
‘srcinst_warning’ makes pointer from integer without a cast */
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?6310>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-sourceinstall] [patch #6310] patch for libsrcinst/srcinst.c,
Jorma Karvonen <=