[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AH_VERBATIM isn't really verbatim with backslashes (autoconf 2.49c)
From: |
Akim Demaille |
Subject: |
Re: AH_VERBATIM isn't really verbatim with backslashes (autoconf 2.49c) |
Date: |
30 Jan 2001 11:27:19 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake) |
| Apparently AH_VERBATIM isn't really verbatim: it turned two
| backslashes into one. This isn't documented anywhere that I can see;
| is it intended?
No idea :) Should be as 2.13.
| I ran into this problem when trying to figure out why fileutils 4.0.38
| uses AH_VERBATIM with "too many" backslashes. fileutils 4.0.38
| contains code that looks like this:
|
| AH_VERBATIM(ISSLASH,
| [#if FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR
| # define ISSLASH(C) ((C) == '/' || (C) == '\\\\')
| #else
| # define ISSLASH(C) ((C) == '/')
| #endif])
|
| and that \\\\ works around the fact that autoheader turns two
| backslashes into one.
Thanks for the patch, I'm applying it. Too bad for speed. Some day
anyway all this is going to be rewritten using more decent languages.