[Pkg-shadow-commits] r3100 - in upstream/trunk: . src

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Thu Mar 11 22:02:59 UTC 2010


Author: nekral-guest
Date: 2010-03-11 22:02:54 +0000 (Thu, 11 Mar 2010)
New Revision: 3100

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/pwunconv.c
Log:
	* src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.

Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2010-03-11 22:01:59 UTC (rev 3099)
+++ upstream/trunk/ChangeLog	2010-03-11 22:02:54 UTC (rev 3100)
@@ -1,3 +1,7 @@
+2010-03-11  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.
+
 2010-03-10  Nicolas François  <nicolas.francois at centraliens.net>
 
 	* src/userdel.c: Re-indent.

Modified: upstream/trunk/src/pwunconv.c
===================================================================
--- upstream/trunk/src/pwunconv.c	2010-03-11 22:01:59 UTC (rev 3099)
+++ upstream/trunk/src/pwunconv.c	2010-03-11 22:02:54 UTC (rev 3100)
@@ -93,10 +93,12 @@
 
 	OPENLOG ("pwunconv");
 
+#ifdef WITH_TCB
 	if (getdef_bool("USE_TCB")) {
 		fprintf(stderr, _("%s: can't work with tcb enabled\n"), Prog);
 		exit(1);
 	}
+#endif				/* WITH_TCB */
 
 	if (!spw_file_present ()) {
 		/* shadow not installed, do nothing */




More information about the Pkg-shadow-commits mailing list