now it compiles, but when executed with a makefile present, it
immediately segfaults :

$ make
      0 [main] make 2804 open_stackdumpfile: Dumping stack trace to
make.exe.stackdump
Segmentation fault (core dumped)

David

On Wed, 2006-03-29 at 20:07, Eli Zaretskii wrote:
> > From: David Ergo <[EMAIL PROTECTED]>
> > Cc: "Paul D. Smith" <[EMAIL PROTECTED]>, [email protected],
> >         Xavier Marichal <[EMAIL PROTECTED]>,
> >         =?ISO-8859-1?Q?S=E9bastien?= Frippiat <[EMAIL PROTECTED]>
> > > David, could you please see if make-3.81rc2 with the patch below
> > > applied and HAVE_REALPATH undefined resolves your issues?  Thanks.
> > 
> > No it doesn't work, actually it doesn't compile at all :
> > job.c line 2468 : sh_chars undefined
> >       line 2580 : sh_cmds undefined
> 
> Does this help?
> 
> 2006-03-29  Eli Zaretskii  <[EMAIL PROTECTED]>
> 
>       * job.c (construct_command_argv_internal) [HAVE_DOS_PATHS]:
>       Declare sh_chars and sh_cmds.
> 
> diff -up "make-3.81rc2/job.c~" "make-3.81rc2/job.c"
> --- make-3.81rc2/job.c~       2006-03-25 11:49:30.996394500 +0200
> +++ make-3.81rc2/job.c        2006-03-29 20:05:41.152625000 +0200
> @@ -2303,6 +2303,8 @@ construct_command_argv_internal (char *l
>       sh_chars_sh[] directly (see below).  The value is identical to
>       the one above for WINDOWS32 platforms.  */
>    static char sh_chars_sh[] = "#;\"*?[]&|<>(){}$`^";
> +  char*  sh_chars;
> +  char** sh_cmds;
>  #elif defined(__riscos__)
>    static char sh_chars[] = "";
>    static char *sh_cmds[] = { 0 };
> 



_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to