* 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=").
This commit is contained in:
nekral-guest 2009-09-08 13:16:58 +00:00
parent 38e7ec3316
commit da18e77e9a
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View 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);