make-w32
[Top][All Lists]
Advanced

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

Re: make 3.81rc1 / MSYS


From: Paul D. Smith
Subject: Re: make 3.81rc1 / MSYS
Date: Sat, 25 Mar 2006 10:24:33 -0500

%% Eli Zaretskii <address@hidden> writes:

  ez> --- job.c~        2006-03-20 07:03:04.000000000 +0200
  ez> +++ job.c 2006-03-25 11:49:30.996394500 +0200
  ez> @@ -2297,6 +2297,12 @@ construct_command_argv_internal (char *l
  ez>                   0 };
  ez>    char*  sh_chars;
  ez>    char** sh_cmds;
  ez> +#elif defined(HAVE_DOS_PATHS)
  ez> +  /* This is required if the MSYS/Cygwin ports (which do not define
  ez> +     WINDOWS32) are compiled with HAVE_DOS_PATHS defined, which uses
  ez> +     sh_chars_sh[] directly (see below).  The value is identical to
  ez> +     the one above for WINDOWS32 platforms.  */
  ez> +  static char sh_chars_sh[] = "#;\"*?[]&|<>(){}$`^";
  ez>  #elif defined(__riscos__)
  ez>    static char sh_chars[] = "";
  ez>    static char *sh_cmds[] = { 0 };

It seems uncool to have the same content twice.

Can't we break out this setting from the different places it is now and
put it into one place, tested by HAVE_DOS_PATHS?

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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