From da18e77e9a0ca55b9130cc90f11f6ccf4b5e264b Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Tue, 8 Sep 2009 13:16:58 +0000 Subject: [PATCH] * 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="). --- ChangeLog | 6 ++++++ src/useradd.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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); -- 2.50.1