On Sun, Jan 18, 2026 at 10:26:45PM +0200, Eli Zaretskii wrote:
> > Date: Sun, 18 Jan 2026 21:01:51 +0100
> > From: [email protected]
> > Cc: [email protected], [email protected]
> > 
> > I couldn't find anything obvious, here is a patch that shows directly
> > the option value, please apply and report the value.
> 
> This code from Converter.pm:
> 
>      if (defined($self->get_conf('SUBDIR')) and $output_file ne '') {
>        my $dir = File::Spec->canonpath($self->get_conf('SUBDIR'));
>        print STDERR "DFD SUBDIR: '$dir'\n";
>        $output_file = join('/', ($dir, $output_file));
> 
> calls File::Spec->canonpath.  I'm pretty sure it returns file names
> with backslashes on Windows, evidently because that's the "canonical"
> form of file names there.

That was also my first guess, but I had a look at the code and did not
find evidence.  I have reread the code, and it is actually obvious that
it is done.

> So we could have a customized version of canonpath, which on Windows
> mirrors all backslashes to forward slashes.

Indeed, I'll do that.

-- 
Pat

Reply via email to