[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: Fri, 18 Aug 2006 15:26:34 -0400
User-agent: Mutt/1.5.11

On Fri, Aug 18, 2006 at 09:54:31PM +0300, Eli Zaretskii wrote:
>+# ifdef HAVE_DOS_PATHS
>+  /* This is required if the MSYS/Cygwin ports (which do not define
>+     WINDOWS32) are compiled with HAVE_DOS_PATHS defined, which uses
>+     sh_chars_sh[] directly (see below).  The value is identical to
>+     the one above for WINDOWS32 platforms.  */
>+  static char sh_chars_sh[] = "#;\"*?[]&|<>(){}$`^";
>+# endif        /* HAVE_DOS_PATHS */

Why would sh_chars_sh be different from the standard sh_chars?  The
above would not treat '~' and '!' specially even though they are special
to bash.  Since the sh_chars on Cygwin (and presumably MSYS) are specifically
only for a real shell, shouldn't they just be set that way?


reply via email to

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