[Pkg-shadow-commits] r3123 - upstream/trunk/lib
Nicolas FRANÇOIS
nekral-guest at alioth.debian.org
Thu Mar 18 00:00:06 UTC 2010
Author: nekral-guest
Date: 2010-03-18 00:00:05 +0000 (Thu, 18 Mar 2010)
New Revision: 3123
Modified:
upstream/trunk/lib/commonio.c
Log:
* lib/commonio.c: Ignore the return value of close when a
failure is reported.
Modified: upstream/trunk/lib/commonio.c
===================================================================
--- upstream/trunk/lib/commonio.c 2010-03-17 23:59:55 UTC (rev 3122)
+++ upstream/trunk/lib/commonio.c 2010-03-18 00:00:05 UTC (rev 3123)
@@ -565,7 +565,7 @@
if (fd >= 0) {
#ifdef WITH_TCB
if (tcb_is_suspect (fd) != 0) {
- close (fd);
+ (void) close (fd);
errno = EINVAL;
return 0;
}
More information about the Pkg-shadow-commits
mailing list