The following commit has been merged in the master branch:
commit 7979a88648eb12d0100691585688481f2d9359c5
Author: Guillem Jover <[email protected]>
Date: Wed Nov 11 05:53:49 2009 +0100
dpkg: Remove redundant ferror check in ensure_diversions()
The check is done already in fgets_checked.
diff --git a/src/divertdb.c b/src/divertdb.c
index 739e458..2214492 100644
--- a/src/divertdb.c
+++ b/src/divertdb.c
@@ -121,8 +121,6 @@ ensure_diversions(void)
oicontest->next = diversions;
diversions = oicontest;
}
- if (ferror(file))
- ohshite(_("read error in diversions [i]"));
onerr_abort--;
}
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]