> Date: Sun, 27 Feb 2005 01:06:37 +0000
> From: "J. Grant" <[EMAIL PROTECTED]>
> CC: Eli Zaretskii <[EMAIL PROTECTED]>,  [email protected]
> 
> (In my view I do not think we should not include .exe as part of the
> program output string. The other ports only display "make" or "gmake" etc.)

I'm not sure I understand: do you think we should keep the .exe or do
you think we should remove it?

As I already said, the DJGPP port was showing "make.exe" for years,
and it was never a problem.  I don't think we should change it now, as
it could break something that relies on this, e.g. in sub-make's, or
the value of the $MAKE variable.  I say, let's leave the .exe alone.

>       if (program == 0)
>         program = argv[0];
>       else
> -       ++program;
> +      {
> +        /* Increment past the initial '\', if there is another character 
> after. */
> +        if(program[0] == '/' || program[0] == '\\')
> +         {
> +                int str_len_p = strlen(program);
> +           if(str_len_p > 1)
> +              ++program;
> +         }
> +      }

Why did you need this snippet?  The test for '/' or '\' was already
done above, so what case does this handle?


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

Reply via email to