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
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';

Reply via email to