bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Directory separator for INFO_JS_DIR


From: Eli Zaretskii
Subject: Re: Directory separator for INFO_JS_DIR
Date: Sun, 23 Oct 2022 20:11:30 +0300

> From: Gavin Smith <gavinsmith0123@gmail.com>
> Date: Sun, 23 Oct 2022 17:53:01 +0100
> 
> > To me the basic issue is that INFO_JS_DIR is used, in HTML.pm in
> > output(), both as an HTML path l 8941 and to copy local files near l
> > 10184 of HTML.pm.  As a local file path, it would make sense to
> > use backward slash, but not as HTML path.
> 
> In HTML.pm, File::Copy is used to copy the files.  It's possible
> that forward slashes would work on all relevant OS's, in which case
> we can hard-code a forward slash in ext/epub3.pm.  I believe that
> forward slashes work in most places on MS-Windows as a directory
> separator, except on the command line.

Yes, forward slashes should work.  (They should also work on the
command line, as long as we don't involve cmd.exe, because the
programs we use all support forward slashes.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]