The following commit has been merged in the master branch:
commit 17d0f9192aa83110de1f1aa0e5ca7bd0ca136172
Author: Niels Thykier <[email protected]>
Date: Tue Jul 10 14:42:08 2012 +0200
c/manpages: Re-direct man's stdout to /dev/null
While closing stdout does not seem to cause any errors, it seems
more prudent to redirect to /dev/null instead.
Signed-off-by: Niels Thykier <[email protected]>
diff --git a/checks/manpages b/checks/manpages
index 31c97a0..375fb5e 100644
--- a/checks/manpages
+++ b/checks/manpages
@@ -250,6 +250,8 @@ foreach my $file ($info->sorted_index) {
clean_env;
close STDOUT;
close $read;
+ open STDOUT, '>', '/dev/null'
+ or fail "Redirecting STDOUT: $!";
open STDERR, '>&', $write
or fail "Redirecting STDERR: $!";
if ($dir) {
--
Debian package checker
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]