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

List:       pkg-shadow-commits
Subject:    [Pkg-shadow-commits] r2829 - in upstream/trunk: . libmisc
From:       Nicolas_FRANÇOIS <nekral-guest () alioth ! debian ! org>
Date:       2009-04-28 19:14:50
Message-ID: E1LyslX-0004hy-4H () alioth ! debian ! org
[Download RAW message or body]

Author: nekral-guest
Date: 2009-04-28 19:14:50 +0000 (Tue, 28 Apr 2009)
New Revision: 2829

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


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2009-04-28 19:14:05 UTC (rev 2828)
+++ upstream/trunk/ChangeLog	2009-04-28 19:14:50 UTC (rev 2829)
@@ -1,5 +1,9 @@
 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
 
+	* libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX.
+
+2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
+
 	* libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
 	are no more needed.
 

Modified: upstream/trunk/libmisc/failure.c
===================================================================
--- upstream/trunk/libmisc/failure.c	2009-04-28 19:14:05 UTC (rev 2828)
+++ upstream/trunk/libmisc/failure.c	2009-04-28 19:14:50 UTC (rev 2829)
@@ -289,11 +289,11 @@
  */
 
 void failtmp (const char *username,
-#ifdef HAVE_UTMPX_H
+#ifdef USE_UTMPX
 		     const struct utmpx *failent
-#else
+#else				/* !USE_UTMPX */
 		     const struct utmp *failent
-#endif
+#endif				/* !USE_UTMPX */
     )
 {
 	char *ftmp;



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

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