[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pkg-shadow-commits
Subject:    [Pkg-shadow-commits] r2831 - in upstream/trunk: . libmisc
From:       Nicolas_FRANÇOIS <nekral-guest () alioth ! debian ! org>
Date:       2009-04-28 19:19:33
Message-ID: E1Lysq5-0005Wg-9M () alioth ! debian ! org
[Download RAW message or body]

Author: nekral-guest
Date: 2009-04-28 19:19:33 +0000 (Tue, 28 Apr 2009)
New Revision: 2831

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/libmisc/failure.h
Log:
	* libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2009-04-28 19:17:21 UTC (rev 2830)
+++ upstream/trunk/ChangeLog	2009-04-28 19:19:33 UTC (rev 2831)
@@ -1,5 +1,9 @@
 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
 
+	* libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX.
+
+2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
+
 	* libmisc/rlogin.c: Replace atoi() by getulong().
 
 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>

Modified: upstream/trunk/libmisc/failure.h
===================================================================
--- upstream/trunk/libmisc/failure.h	2009-04-28 19:17:21 UTC (rev 2830)
+++ upstream/trunk/libmisc/failure.h	2009-04-28 19:19:33 UTC (rev 2831)
@@ -36,11 +36,11 @@
 
 #include "defines.h"
 #include "faillog.h"
-#ifdef HAVE_UTMPX_H
+#ifdef USE_UTMPX
 #include <utmpx.h>
-#else
+#else					/* !USE_UTMPX */
 #include <utmp.h>
-#endif
+#endif					/* !USE_UTMPX */
 
 /*
  * failure - make failure entry
@@ -74,11 +74,11 @@
  *	failtmp updates the (struct utmp) formatted failure log which
  *	maintains a record of all login failures.
  */
-#ifdef HAVE_UTMPX_H
+#ifdef USE_UTMPX
 extern void failtmp (const char *username, const struct utmpx *);
-#else
+#else				/* !USE_UTMPX */
 extern void failtmp (const char *username, const struct utmp *);
-#endif
+#endif				/* !USE_UTMPX */
 
 #endif
 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic