OK, please try replacing that text (in main.c) with this:
#ifdef WINDOWS32
if (program == 0)
{
/* Extract program from full path */
int argv0_len;
program = strrchr (argv[0], '\\');
if (program)
{
argv0_len = strlen(program);
if (argv0_len > 4 && streq (&program[argv0_len - 4], ".exe"))
/* Remove .exe extension */
p[argv0_len - 4] = '\0';
}
}
#endif
and see if that helps (using the diff -w).
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> 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
_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32