]> granicus.if.org Git - shadow/commitdiff
* src/useradd.c: The default value for the CREATE_MAIL_SPOOL
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 8 Sep 2009 13:16:58 +0000 (13:16 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 8 Sep 2009 13:16:58 +0000 (13:16 +0000)
variable (i.e. if CREATE_MAIL_SPOOL= is specified without any
values) is "no", not DCREATE_MAIL_SPOOL ("CREATE_MAIL_SPOOL=").

ChangeLog
src/useradd.c

index 22f6d84de9d2730f7647921c41568a4a2fe5e6a6..7bbc7a4b4e448513d80edf34387e139d9e5f0fdb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-09-08  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * 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  <nicolas.francois@centraliens.net>
 
        * src/useradd.c: Avoid redefinition of SHELL. Use DSHELL instead.
index 7557f889132a84728ec6b00ac2e2b51cdab84386..3581b3784fad2cd73b8b8061fa857926f054faf3 100644 (file)
@@ -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);