Paul Eggert
2016-03-15 17:51:56 UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".
http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=dc3dad37dbe8ae1942d8c6ca73394c0f44ae6489
The branch, master has been updated
via dc3dad37dbe8ae1942d8c6ca73394c0f44ae6489 (commit)
from 739cdc82b5325402231f3f5e1a38f681fcbd1db2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dc3dad37dbe8ae1942d8c6ca73394c0f44ae6489
Author: Paul Eggert <***@cs.ucla.edu>
Date: Tue Mar 15 10:51:26 2016 -0700
autom4te: fix problem when tracing to '-'
* bin/autom4te.in (handle_traces): When $output is '-', use
stdout rather than creating a file named '-'. This fixes a problem
introduced by the recent port to the new Autom4te::XFile API.
-----------------------------------------------------------------------
Summary of changes:
bin/autom4te.in | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/bin/autom4te.in b/bin/autom4te.in
index 591771b..59945cf 100644
--- a/bin/autom4te.in
+++ b/bin/autom4te.in
@@ -550,7 +550,7 @@ sub handle_output ($$)
}
else
{
- $out->open($output, O_CREAT | O_WRONLY | O_TRUNC, oct ($mode));
+ $out->open ($output, O_CREAT | O_WRONLY | O_TRUNC, oct ($mode));
}
fatal "cannot create $output: $!"
unless $out;
@@ -834,7 +834,15 @@ EOF
$trace_m4->close;
my $in = new Autom4te::XFile ("$m4 " . shell_quote ("$tmp/traces.m4") . " |");
- my $out = new Autom4te::XFile ($output, ">");
+ my $out = new Autom4te::XFile;
+ if ($output eq '-')
+ {
+ $out->open (">$output");
+ }
+ else
+ {
+ $out->open ($output, ">");
+ }
# This is dubious: should we really transform the quadrigraphs in
# traces? It might break balanced [ ] etc. in the output. The
hooks/post-receive
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".
http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=dc3dad37dbe8ae1942d8c6ca73394c0f44ae6489
The branch, master has been updated
via dc3dad37dbe8ae1942d8c6ca73394c0f44ae6489 (commit)
from 739cdc82b5325402231f3f5e1a38f681fcbd1db2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dc3dad37dbe8ae1942d8c6ca73394c0f44ae6489
Author: Paul Eggert <***@cs.ucla.edu>
Date: Tue Mar 15 10:51:26 2016 -0700
autom4te: fix problem when tracing to '-'
* bin/autom4te.in (handle_traces): When $output is '-', use
stdout rather than creating a file named '-'. This fixes a problem
introduced by the recent port to the new Autom4te::XFile API.
-----------------------------------------------------------------------
Summary of changes:
bin/autom4te.in | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/bin/autom4te.in b/bin/autom4te.in
index 591771b..59945cf 100644
--- a/bin/autom4te.in
+++ b/bin/autom4te.in
@@ -550,7 +550,7 @@ sub handle_output ($$)
}
else
{
- $out->open($output, O_CREAT | O_WRONLY | O_TRUNC, oct ($mode));
+ $out->open ($output, O_CREAT | O_WRONLY | O_TRUNC, oct ($mode));
}
fatal "cannot create $output: $!"
unless $out;
@@ -834,7 +834,15 @@ EOF
$trace_m4->close;
my $in = new Autom4te::XFile ("$m4 " . shell_quote ("$tmp/traces.m4") . " |");
- my $out = new Autom4te::XFile ($output, ">");
+ my $out = new Autom4te::XFile;
+ if ($output eq '-')
+ {
+ $out->open (">$output");
+ }
+ else
+ {
+ $out->open ($output, ">");
+ }
# This is dubious: should we really transform the quadrigraphs in
# traces? It might break balanced [ ] etc. in the output. The
hooks/post-receive
--
GNU Autoconf source repository
GNU Autoconf source repository