Re: Texinfo 7.2.90 build with mingw.org's MinGW: testing

[email protected]
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <[email protected]>
On Sun, Jan 18, 2026 at 09:43:05PM +0200, Eli Zaretskii wrote:
> > Date: Sun, 18 Jan 2026 19:12:37 +0100
> > From: [email protected]
> > Cc: [email protected], [email protected]
> > 
> > Could you please apply the attached patch, and rerun the same command as
> > above, and report the output, please?  I added some printout of the
> > directories name to try to narrow down where the backslash appear.
> 
> This produces:
> 
>   III './formatting/simplest.texi' './formatting/' 'formatting'
>   DFD SUBDIR: 'formatting\out_parser\reuse_macro_expand_file'
>   DFD dir 'formatting\out_parser\reuse_macro_expand_file/' 'formatting\out_parser\reuse_macro_expand_file'
>   Output file formatting\out_parser\reuse_macro_expand_file/simplest.info

I couldn't find anything obvious, here is a patch that shows directly
the option value, please apply and report the value.

-- 
Pat
show_output_option.diff (text/x-diff, 481 B)
diff --git a/tta/perl/texi2any.pl b/tta/perl/texi2any.pl
index 90331ff8c0..bc871b3e7a 100755
--- a/tta/perl/texi2any.pl
+++ b/tta/perl/texi2any.pl
@@ -1260,6 +1260,7 @@ There is NO WARRANTY, to the extent permitted by law."), "2026")."\n";
                    },
  'output|out|o=s' => sub {
     my $var = 'OUTFILE';
+    print STDERR "OPT OUTFILE: '$_[1]'\n";
     if ($_[1] ne '-' and ($_[1] =~ m:/$: or -d $_[1])) {
       set_from_cmdline($var, undef);
       $var = 'SUBDIR';
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.