* src/grpconv.c: Use Basename for the definition of Prog. Prog
needs a file visibility. * src/grpunconv.c: Likewise.
This commit is contained in:
parent
421085672b
commit
306f19b805
@ -1,3 +1,9 @@
|
|||||||
|
2008-08-21 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* src/grpconv.c: Use Basename for the definition of Prog. Prog
|
||||||
|
needs a file visibility.
|
||||||
|
* src/grpunconv.c: Likewise.
|
||||||
|
|
||||||
2008-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
2008-08-20 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* src/chfn.c: Do not exit on pw_unlock failures.
|
* src/chfn.c: Do not exit on pw_unlock failures.
|
||||||
|
@ -53,8 +53,9 @@
|
|||||||
/*
|
/*
|
||||||
* Global variables
|
* Global variables
|
||||||
*/
|
*/
|
||||||
static bool gr_locked = false;
|
static bool gr_locked = false;
|
||||||
static bool sgr_locked = false;
|
static bool sgr_locked = false;
|
||||||
|
static char *Prog;
|
||||||
|
|
||||||
/* local function prototypes */
|
/* local function prototypes */
|
||||||
static void fail_exit (int);
|
static void fail_exit (int);
|
||||||
@ -86,7 +87,8 @@ int main (int argc, char **argv)
|
|||||||
struct group grent;
|
struct group grent;
|
||||||
const struct sgrp *sg;
|
const struct sgrp *sg;
|
||||||
struct sgrp sgent;
|
struct sgrp sgent;
|
||||||
char *Prog = argv[0];
|
|
||||||
|
Prog = Basename (argv[0]);
|
||||||
|
|
||||||
(void) setlocale (LC_ALL, "");
|
(void) setlocale (LC_ALL, "");
|
||||||
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
@ -54,8 +54,9 @@
|
|||||||
/*
|
/*
|
||||||
* Global variables
|
* Global variables
|
||||||
*/
|
*/
|
||||||
static bool gr_locked = false;
|
static bool gr_locked = false;
|
||||||
static bool sgr_locked = false;
|
static bool sgr_locked = false;
|
||||||
|
static char *Prog;
|
||||||
|
|
||||||
/* local function prototypes */
|
/* local function prototypes */
|
||||||
static void fail_exit (int status);
|
static void fail_exit (int status);
|
||||||
@ -86,7 +87,8 @@ int main (int argc, char **argv)
|
|||||||
const struct group *gr;
|
const struct group *gr;
|
||||||
struct group grent;
|
struct group grent;
|
||||||
const struct sgrp *sg;
|
const struct sgrp *sg;
|
||||||
char *Prog = argv[0];
|
|
||||||
|
Prog = Basename (argv[0]);
|
||||||
|
|
||||||
(void) setlocale (LC_ALL, "");
|
(void) setlocale (LC_ALL, "");
|
||||||
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user