From: nekral-guest Date: Tue, 8 Sep 2009 13:16:58 +0000 (+0000) Subject: * src/useradd.c: The default value for the CREATE_MAIL_SPOOL X-Git-Tag: 4.1.5~378 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da18e77e9a0ca55b9130cc90f11f6ccf4b5e264b;p=shadow * src/useradd.c: The default value for the CREATE_MAIL_SPOOL variable (i.e. if CREATE_MAIL_SPOOL= is specified without any values) is "no", not DCREATE_MAIL_SPOOL ("CREATE_MAIL_SPOOL="). --- diff --git a/ChangeLog b/ChangeLog index 22f6d84d..7bbc7a4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-09-08 Nicolas François + + * src/useradd.c: The default value for the CREATE_MAIL_SPOOL + variable (i.e. if CREATE_MAIL_SPOOL= is specified without any + values) is "no", not DCREATE_MAIL_SPOOL ("CREATE_MAIL_SPOOL="). + 2009-09-08 Nicolas François * src/useradd.c: Avoid redefinition of SHELL. Use DSHELL instead. diff --git a/src/useradd.c b/src/useradd.c index 7557f889..3581b378 100644 --- a/src/useradd.c +++ b/src/useradd.c @@ -384,7 +384,7 @@ static void get_defaults (void) */ else if (MATCH (buf, DCREATE_MAIL_SPOOL)) { if (*cp == '\0') { - cp = DCREATE_MAIL_SPOOL; /* XXX warning: const */ + cp = "no"; /* XXX warning: const */ } def_create_mail_spool = xstrdup (cp);