[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Strange error messages from Groff 1.22.3
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] Strange error messages from Groff 1.22.3 |
Date: |
Mon, 10 Nov 2014 19:08:00 +0000 |
Hi Eli,
> +void normalize_for_lf (string &fn)
> +{
> +#if defined(__MSDOS__) || (defined(_WIN32) && !defined(__CYGWIN__))
> + int fnlen = fn.length();
> + for (int i = 0; i < fnlen; i++)
> + {
> + if (fn[i] == '\\')
> + fn[i] = '/';
> + }
> +#endif
> +}
One thing I think I've missed: why has this come to light now? Is
groff running on Windows in a new manner? Am I right in thinking that
Windows' API is as happy with a/b/c as a\b\c and so wrappers around the
code that's cooking up the a\b\c in the first place could transliterate
there without caring where the a/b/c is later to be used?
Cheers, Ralph.
- Re: [Groff] Strange error messages from Groff 1.22.3, (continued)
- Re: [Groff] Strange error messages from Groff 1.22.3, Eli Zaretskii, 2014/11/08
- Re: [Groff] Strange error messages from Groff 1.22.3, Werner LEMBERG, 2014/11/08
- Re: [Groff] Strange error messages from Groff 1.22.3, Eli Zaretskii, 2014/11/08
- Re: [Groff] Strange error messages from Groff 1.22.3, Eli Zaretskii, 2014/11/08
- Re: [Groff] Strange error messages from Groff 1.22.3, Werner LEMBERG, 2014/11/08
- Re: [Groff] Strange error messages from Groff 1.22.3, Eli Zaretskii, 2014/11/08
- Re: [Groff] Strange error messages from Groff 1.22.3, Werner LEMBERG, 2014/11/08
- Re: [Groff] Strange error messages from Groff 1.22.3, Eli Zaretskii, 2014/11/08
- Re: [Groff] Strange error messages from Groff 1.22.3, Werner LEMBERG, 2014/11/09
- Re: [Groff] Strange error messages from Groff 1.22.3, Eli Zaretskii, 2014/11/10
- Re: [Groff] Strange error messages from Groff 1.22.3,
Ralph Corderoy <=
- Re: [Groff] Strange error messages from Groff 1.22.3, Eli Zaretskii, 2014/11/11
- Re: [Groff] Strange error messages from Groff 1.22.3, Ralph Corderoy, 2014/11/11
- Re: [Groff] Strange error messages from Groff 1.22.3, Keith Marshall, 2014/11/11
- Re: [Groff] Strange error messages from Groff 1.22.3, Ralph Corderoy, 2014/11/11
- Re: [Groff] Strange error messages from Groff 1.22.3, Eli Zaretskii, 2014/11/11
- Re: [Groff] Strange error messages from Groff 1.22.3, Eli Zaretskii, 2014/11/11
- Re: [Groff] Strange error messages from Groff 1.22.3, Eli Zaretskii, 2014/11/11
- Re: [Groff] Strange error messages from Groff 1.22.3, Eli Zaretskii, 2014/11/17
- Re: [Groff] Strange error messages from Groff 1.22.3, Werner LEMBERG, 2014/11/19
- Re: [Groff] Strange error messages from Groff 1.22.3, Eli Zaretskii, 2014/11/20