[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.)
- Re: free used incorrectly in api.c, (continued)
- Re: texinfo-6.8.90 pretest, Eli Zaretskii, 2022/10/23
- Re: texinfo-6.8.90 pretest, pertusus, 2022/10/23
- Re: texinfo-6.8.90 pretest, Eli Zaretskii, 2022/10/23
- Re: texinfo-6.8.90 pretest, pertusus, 2022/10/23
- Re: texinfo-6.8.90 pretest, Eli Zaretskii, 2022/10/23
- Re: texinfo-6.8.90 pretest, pertusus, 2022/10/23
- Directory separator for INFO_JS_DIR, Gavin Smith, 2022/10/23
- Re: Directory separator for INFO_JS_DIR,
Eli Zaretskii <=
- Re: Directory separator for INFO_JS_DIR, pertusus, 2022/10/23
- Re: Directory separator for INFO_JS_DIR, pertusus, 2022/10/23
Re: texinfo-6.8.90 pretest, Gavin Smith, 2022/10/22
Re: texinfo-6.8.90 pretest, Eli Zaretskii, 2022/10/22
Re: texinfo-6.8.90 pretest, Gavin Smith, 2022/10/22