[Pkg-shadow-commits] r3069 - in upstream/trunk: . src
Nicolas FRANÇOIS
nekral-guest at alioth.debian.org
Tue Sep 8 13:16:58 UTC 2009
Author: nekral-guest
Date: 2009-09-08 13:16:58 +0000 (Tue, 08 Sep 2009)
New Revision: 3069
Modified:
upstream/trunk/ChangeLog
upstream/trunk/src/useradd.c
Log:
* 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=").
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2009-09-08 13:11:03 UTC (rev 3068)
+++ upstream/trunk/ChangeLog 2009-09-08 13:16:58 UTC (rev 3069)
@@ -1,5 +1,11 @@
2009-09-08 Nicolas François <nicolas.francois at 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 at centraliens.net>
+
* src/useradd.c: Avoid redefinition of SHELL. Use DSHELL instead.
For consistency, change HOME, INACT, EXPIRE, SKEL, and
CREATE_MAIL_SPOOL to DHOME, DINACT, DEXPIRE, DSKEL, and
Modified: upstream/trunk/src/useradd.c
===================================================================
--- upstream/trunk/src/useradd.c 2009-09-08 13:11:03 UTC (rev 3068)
+++ upstream/trunk/src/useradd.c 2009-09-08 13:16:58 UTC (rev 3069)
@@ -384,7 +384,7 @@
*/
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);
More information about the Pkg-shadow-commits
mailing list