make-w32
[Top][All Lists]
Advanced

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

Re: GNU make 3.81beta3 released


From: Paul D. Smith
Subject: Re: GNU make 3.81beta3 released
Date: Wed, 29 Jun 2005 00:41:25 -0400

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 <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]