[SCM] Debian package checker branch, master, updated. 2.0.0-29-gac85d00
The following commit has been merged in the master branch:
commit 611c9e3fcf9b64edc90c35241d31bc526ca4acef
Author: Frank Lichtenheld <djpig@debian.org>
Date: Fri Oct 17 00:16:28 2008 +0200
Lintian::Command::spawn: set error output to STDERR per default
From my own experience during testing, this really should only be
hidden if the caller is prepared to do something with it.
diff --git a/lib/Lintian/Command.pm b/lib/Lintian/Command.pm
index c5325f9..6fb2071 100644
--- a/lib/Lintian/Command.pm
+++ b/lib/Lintian/Command.pm
@@ -100,9 +100,7 @@ process to end properly.
=item err
-STDERR of all forked childs. Will be set to a newly created
-scalar reference by default which can be used to retrieve the output
-after the call.
+STDERR of all forked childs. Defaults to STDERR of the parent.
=item pipe_err
@@ -164,7 +162,7 @@ sub spawn {
@err = ('2>pipe', $opts->{pipe_err});
$pipe = 1;
} else {
- $opts->{err} ||= \$err;
+ $opts->{err} ||= \*STDERR;
@err = ('2>', $opts->{err});
}
--
Debian package checker
Reply to: