Prof Abimbola Olowofoyeku wrote:
Did you find the place where it changes back slashes to front slashes? I suppose it's the places where something is set to DIR_SEPARATOR in gpc.c.
There are so many instances of DIR_SEPARAT* in gpc.c, and quote often, "/" is also checked for in such places. It is difficult to know where exactly the change is taking place.
I'm changing them to use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATHNAME now (thereby also synching it more with gcc-3.x). I could send you a diff, or you could wait for the next alpha, but I don't see how any of these changes affect the problematic behaviour, actually.
Anyway, you might want to try changing the assignments (search for ` = DIR_SEPARATOR', and also the declaration of dir_separator_str) to DIR_SEPARATOR_2, without applying your patch.
I don't really see why this should work, but if it does, at least I know what we're at ...
That was my first point of call, and nothing I tried there worked. I will have another go over the weekend ....
Please do. If you find where the conversion is taking place, this should help us fix it.
Frank