summaryrefslogtreecommitdiff
path: root/make_patchnum.pl
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2014-12-03 13:30:12 +0000
committerDavid Mitchell <davem@iabyn.com>2014-12-03 13:30:12 +0000
commit31b42f2e3560656f5b499423a3e567c017a8c89a (patch)
tree62733b80d98796a0f7c641f0775ecef3356de347 /make_patchnum.pl
parentc6eacdc3acc965cb069ded02e066d3c00e9385df (diff)
downloadperl-31b42f2e3560656f5b499423a3e567c017a8c89a.tar.gz
reduce stderr noise in build
Ideally you should be able to do (Configure && make test) 2> /tmp/err with /tmp/err being empty. This is not the case, and this commit is a first step towards that goal. The fprintf (stderr, "Sizeof time_t = %ld\n", sizeof (time_t)); in Configure appears to be just a debugging aid; it's also a copy of the code in Porting/timecheck.c, which people can always run if need-be. hints/linux.sh appears to be looking for symbols in libdb.so; if the library is stripped, this produces to stderr: /bin/nm: /lib/libdb.so: no symbols I've silenced it for now with a 2>/dev/null, but I'm not sure if the whole test is flawed, since with no symbols, 'nm libdb.so | grep pthread' is a no-op. make_patchnum.pl, when running backticks, prints $? to stderr if it's non-zero; since a similar print in the other branch is already commented out, I assume its just left-over debugging.
Diffstat (limited to 'make_patchnum.pl')
-rw-r--r--make_patchnum.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_patchnum.pl b/make_patchnum.pl
index 3f857b5739..fc28d58f20 100644
--- a/make_patchnum.pl
+++ b/make_patchnum.pl
@@ -100,7 +100,7 @@ sub backtick {
} else {
my $result= `$subcd $command`;
$result="" if ! defined $result;
- warn "$subcd $command: \$?=$?\n" if $?;
+ #warn "$subcd $command: \$?=$?\n" if $?;
print "#> $subcd $command ->\n $result\n" if !$? and $opt_v;
chomp $result;
return $result;