[Pkg-shadow-commits] r3130 - in upstream/trunk: . lib

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Thu Mar 18 00:03:35 UTC 2010


Author: nekral-guest
Date: 2010-03-18 00:03:29 +0000 (Thu, 18 Mar 2010)
New Revision: 3130

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/lib/tcbfuncs.c
Log:
	* lib/tcbfuncs.c: Ignore fflush() return value.

Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2010-03-18 00:03:06 UTC (rev 3129)
+++ upstream/trunk/ChangeLog	2010-03-18 00:03:29 UTC (rev 3130)
@@ -13,6 +13,7 @@
 	* lib/tcbfuncs.c: Do not free path before its last use.
 	* lib/tcbfuncs.c: Include shadowio.h, needed for the
 	spw_setdbname's prototype.
+	* lib/tcbfuncs.c: Ignore fflush() return value.
 
 2010-03-17  Nicolas François  <nicolas.francois at centraliens.net>
 

Modified: upstream/trunk/lib/tcbfuncs.c
===================================================================
--- upstream/trunk/lib/tcbfuncs.c	2010-03-18 00:03:06 UTC (rev 3129)
+++ upstream/trunk/lib/tcbfuncs.c	2010-03-18 00:03:29 UTC (rev 3130)
@@ -66,7 +66,7 @@
  */
 #define OUT_OF_MEMORY do { \
 	fprintf(stderr, _("%s: out of memory\n"), Prog); \
-	fflush(stderr); \
+	(void) fflush(stderr); \
 } while(false)
 
 /* Returns user's tcb directory path relative to TCB_DIR. */




More information about the Pkg-shadow-commits mailing list