fmt_info.pl: Better use $global->{file}. Fix replacement size.

We better use $global->{file} to be displayed in the resulting file.
That is the file that was actually processed, even if the original
string did not contain a sgml suffix.

We also try to make files before and after final changes match in size.
Seems that otherwise we sometimes get mesages about corrupt references.
parent d844e585
......@@ -111,7 +111,7 @@ $info->{postASP} = sub {
my $INFILE = shift;
my $OUTFILE;
my $msgheader = "fmt_info::postASP";
my $fileinfo = "info file generated after $global->{origfile} by means of linuxdoc-tools";
my $fileinfo = "info file generated from $global->{file} by means of linuxdoc-tools";
my $rawtexi = "$global->{tmpbase}.1.texi0";
my $texifile = "$global->{tmpbase}.2.texi";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment