* 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:
@ -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>
|
2009-09-08 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* src/useradd.c: Avoid redefinition of SHELL. Use DSHELL instead.
|
* src/useradd.c: Avoid redefinition of SHELL. Use DSHELL instead.
|
||||||
|
@ -384,7 +384,7 @@ static void get_defaults (void)
|
|||||||
*/
|
*/
|
||||||
else if (MATCH (buf, DCREATE_MAIL_SPOOL)) {
|
else if (MATCH (buf, DCREATE_MAIL_SPOOL)) {
|
||||||
if (*cp == '\0') {
|
if (*cp == '\0') {
|
||||||
cp = DCREATE_MAIL_SPOOL; /* XXX warning: const */
|
cp = "no"; /* XXX warning: const */
|
||||||
}
|
}
|
||||||
|
|
||||||
def_create_mail_spool = xstrdup (cp);
|
def_create_mail_spool = xstrdup (cp);
|
||||||
|
Reference in New Issue
Block a user