[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #35395] bad picture path with --html and --without --no-split
From: |
Patrice Dumas |
Subject: |
Re: [bug #35395] bad picture path with --html and --without --no-split |
Date: |
Sat, 4 Feb 2012 23:55:28 +0100 |
User-agent: |
Mutt/1.4.2.2i |
On Sat, Feb 04, 2012 at 02:49:06PM -0800, Karl Berry wrote:
> Indeed, I do that a lot. This is inherited from texi2html, though,
> so I figured there was something magical in perl regexp to consider
> \ as / automatically. Looks like it was wrong...
>
> No, it would crazy to automatically make the meaning of \ and / in
> regexps platform-dependent :).
>
> In general, / works fine on Windows as a separator. I'm not sure why
> it's not working here, but I don't think it's our job to worry about it.
I know why, instead of dirname, for instance, there are regexp like,
l. 923 of texi2any.pl
if ($input_file_name =~ /(.*\/)/) {
$input_directory = $1;
}
or l. 334, to determine if a path is absolute:
if ($file =~ /^\//) {
Both will fail if the path separator is \.
Though, since I cannot test on windows, I'd prefer a patch also tested on
unix/linux rather than doing it myself.
--
Pat
- [bug #35395] bad picture path with --html and --without --no-split, Patrice Dumas, 2012/02/01
- [bug #35395] bad picture path with --html and --without --no-split, Vincent Belaïche, 2012/02/04
- [bug #35395] bad picture path with --html and --without --no-split, Patrice Dumas, 2012/02/04
- [bug #35395] bad picture path with --html and --without --no-split, Vincent Belaïche, 2012/02/04
- Re: [bug #35395] bad picture path with --html and --without --no-split, Patrice Dumas, 2012/02/04
- Re: [bug #35395] bad picture path with --html and --without --no-split, Karl Berry, 2012/02/04
- Re: [bug #35395] bad picture path with --html and --without --no-split,
Patrice Dumas <=
- Re: [bug #35395] bad picture path with --html and --without --no-split, Karl Berry, 2012/02/04
- Re: [bug #35395] bad picture path with --html and --without --no-split, Patrice Dumas, 2012/02/04
- Re: [bug #35395] bad picture path with --html and --without --no-split, Karl Berry, 2012/02/04
- Re: [bug #35395] bad picture path with --html and --without --no-split, Patrice Dumas, 2012/02/04
- Re: [bug #35395] bad picture path with --html and --without --no-split, Eli Zaretskii, 2012/02/04
- Re: [bug #35395] bad picture path with --html and --without --no-split, Patrice Dumas, 2012/02/05
- Re: [bug #35395] bad picture path with --html and --without --no-split, Vincent Belaïche, 2012/02/05
- Re: [bug #35395] bad picture path with --html and --without --no-split, Patrice Dumas, 2012/02/05
- Re: [bug #35395] bad picture path with --html and --without --no-split, Karl Berry, 2012/02/05
Re: [bug #35395] bad picture path with --html and --without --no-split, Karl Berry, 2012/02/04