* lib/Autom4te/XFile.pm (open): Simplified the error message (we

already have $file).  Set output files to binary mode (helps avoid
  CR issues on DOSish systems).
This commit is contained in:
Tim Van Holder 2001-09-20 14:52:57 +00:00
parent 9b50021469
commit 6cd8d1f6c1
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
* lib/Autom4te/XFile.pm (open): Simplified the error message (we
already have $file). Set output files to binary mode (helps avoid
CR issues on DOSish systems).
2001-09-19 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4: Englishoes.

View File

@ -133,9 +133,9 @@ sub open
if (!$fh->SUPER::open (@_))
{
my $me = basename ($0);
my $file = ${*$fh}{'autom4te_xfile_file'};
croak "$me: cannot open $file: $!\n";
}
binmode $fh if $file =~ /^\s*>/;
}
################################################