The following commit has been merged in the master branch:
commit a83e83c156e9cf2d084b1cc8cf561cec4f021ac9
Author: Guillem Jover <[email protected]>
Date: Sun Sep 6 06:30:08 2009 +0200
dpkg: Check stdout for errors instead of stderr in audit()
diff --git a/src/enquiry.c b/src/enquiry.c
index 5f773f8..dcea3ae 100644
--- a/src/enquiry.c
+++ b/src/enquiry.c
@@ -132,7 +132,9 @@ void audit(const char *const *argv) {
iterpkgend(it);
if (head) putchar('\n');
}
- if (ferror(stderr)) werr("stderr");
+
+ if (ferror(stdout))
+ werr("stdout");
}
struct sectionentry {
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]