[Top][All Lists]

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

Re: Fix for HAVE_DOS_PATHS build on cygwin

From: Christopher Faylor
Subject: Re: Fix for HAVE_DOS_PATHS build on cygwin
Date: Thu, 17 Aug 2006 13:50:49 -0400
User-agent: Mutt/1.5.11

On Thu, Aug 17, 2006 at 01:42:53PM -0400, Eli Zaretskii wrote:
>> 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, 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 thing, then provide a patch.  I was just going
>> along with the existing style of the code in this case. 
>The Cygwin build could (and probably should) use, but the
>MinGW and MSVC ports don't use the configure script to build
>themselves, and so the native builds cannot set PATH_SEPARATOR_CHAR

Whatever the mechanism, it seems like this could easily be made part of
config.h.  Wouldn't just adding it to configh.dos suffice?


reply via email to

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