make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix for HAVE_DOS_PATHS build on cygwin


From: Eli Zaretskii
Subject: Re: Fix for HAVE_DOS_PATHS build on cygwin
Date: Fri, 18 Aug 2006 20:42:15 +0300

> Date: Thu, 17 Aug 2006 12:38:29 -0400
> From: Bill Hoffman <address@hidden>
> 
> >>  /* Handle other OSs.  */
> >>! #if defined(HAVE_DOS_PATHS) && !defined(__CYGWIN__)
> >>  # define PATH_SEPARATOR_CHAR ';'
> >>  #elif defined(VMS)
> >>  # define PATH_SEPARATOR_CHAR ','
> >
> >This is probably too big a change for this particular problem (and maybe
> >it's already been discussed to death) but I don't see why this setting
> >couldn't be in configure.in, too.  Then MinGW could set
> >PATH_SEPARATOR_CHAR to ';', VMS could set it to ',' (shouldn't that be
> >'.'?), and Cygwin and every other "UNIX system" could just use the default.
> 
> Sure, this seems to produce the correct behavior.  If you want
> to make it a configure.in thing, then provide a patch.  I was just going
> along with the existing style of the code in this case. 

As a matter of fact, configure already computes the right value for
PATH_SEPARATOR_CHAR, it just calls it PATH_SEPARATOR.  I will try to
come up with a suitable patch to use that value directly.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]