This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA/libiberty] Enhance FILENAME_CMP for Windows filesystems
>On Wed, 28 Mar 2007 12:18:45 -0700, Joel Brobaker wrote:
>>This is a modest improvement, since there are many other things we
>>can do to enhance it (such as normalizing the path so that '//' and '/'
>>are treated as equal for instance). But this paves the path for
>>further improvements of that sort.
...
On Sat, Mar 31, 2007 at 02:57:01PM +0300, Eli Zaretskii wrote:
>While I realize that the original FILENAME_CMP macro did the same, as
>long as we are trying to do better, wouldn't it be nice if this
>function also collapsed multiple consecutive slashes or backslashes?
Joel already acknowledge that this was a possible future improvement.
If this is done, please be sure to preserve two slashes at the beginning
of a filename since Windows uses those.
cgf