* bin/autom4te.in (handle_m4): Do not redirect stdin to

/dev/null since the heuristics for interactive behaviour was
fixed in CVS m4.
This commit is contained in:
Stepan Kasal 2006-10-24 18:25:30 +00:00
parent 627a3683fd
commit 6f3e11dfb1
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2006-10-24 Stepan Kasal <kasal@ucw.cz>
* bin/autom4te.in (handle_m4): Do not redirect stdin to
/dev/null since the heuristics for interactive behaviour was
fixed in CVS m4.
2006-10-24 Stepan Kasal <kasal@ucw.cz>
* bin/autom4te.in: With --force, always refresh the output

View File

@ -454,8 +454,6 @@ sub handle_m4 ($@)
# Run m4.
#
# Neutralize its stdin, so that GNU M4 1.5 doesn't neutralize SIGINT.
#
# We don't output directly to the cache files, to avoid problems
# when we are interrupted (that leaves corrupted files).
xsystem ("$m4"
@ -465,7 +463,6 @@ sub handle_m4 ($@)
. " @M4_DEBUGFILE@=$tcache" . $req->id . "t"
. join (' --trace=', '', sort @macro)
. " " . files_to_options (@ARGV)
. ' </dev/null'
. " >$ocache" . $req->id . "t");
# Everything went ok: preserve the outputs.