cygwin POSIX pathname fix
Mumit Khan
khan@xraylith.wisc.edu
Tue Apr 20 09:12:00 GMT 1999
On Mon, 19 Apr 1999, Chris Faylor wrote:
> On Mon, Apr 19, 1999 at 08:13:17PM -0500, Mumit Khan wrote:
>
> The patch looks ok but I don't think it goes far enough. It looks like
> if a user specifies an absolute MS-DOS filename on the command line or
> in an include spec it will not be converted to POSIX format and it
> should be.
I should've made that clear, sorry. This patch is just a much needed fix
for the current code to *not* munge pathnames unnecessarily when these
come from the environment variables; the patch to actually handle
user-supplied names on the command line will be a separate patch coming
soon (hopefully before the freeze!). And that's the reason for my
statement:
> >To do the pathname conversion correctly however, we need to insert Cygwin
> >specific pathname handling code in the GCC driver.
I'd like to get this in first before trying to add Cygwin specific code to
the language driver/cpp that the EGCS maintainers may object to.
With this patch, as long as you use POSIX pathnames, the compiler will
too. A small, but important, step in the right direction.
Regards,
Mumit
More information about the Gcc-patches
mailing list