/[make]/make/main.c
ViewVC logotype

Diff of /make/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.194 by psmith, Sun Dec 5 18:09:31 2004 UTC revision 1.195 by psmith, Thu Feb 10 00:10:57 2005 UTC
# Line 2150  handle_non_switch_argument (char *arg, i Line 2150  handle_non_switch_argument (char *arg, i
2150    v = try_variable_definition (0, arg, o_command, 0);    v = try_variable_definition (0, arg, o_command, 0);
2151    if (v != 0)    if (v != 0)
2152      {      {
2153        /* It is indeed a variable definition.  Record a pointer to        /* It is indeed a variable definition.  If we don't already have this
2154           the variable for later use in define_makeflags.  */           one, record a pointer to the variable for later use in
2155        struct command_variable *cv           define_makeflags.  */
2156          = (struct command_variable *) xmalloc (sizeof (*cv));        struct command_variable *cv;
2157        cv->variable = v;  
2158        cv->next = command_variables;        for (cv = command_variables; cv != 0; cv = cv->next)
2159        command_variables = cv;          if (cv->variable == v)
2160              break;
2161    
2162          if (! cv) {
2163            cv = (struct command_variable *) xmalloc (sizeof (*cv));
2164            cv->variable = v;
2165            cv->next = command_variables;
2166            command_variables = cv;
2167          }
2168      }      }
2169    else if (! env)    else if (! env)
2170      {      {
# Line 2907  log_working_directory (int entering) Line 2915  log_working_directory (int entering)
2915        else        else
2916          printf (_("%s[%u]: Leaving directory `%s'\n"),          printf (_("%s[%u]: Leaving directory `%s'\n"),
2917                  program, makelevel, starting_directory);                  program, makelevel, starting_directory);
2918    
2919      /* Flush stdout to be sure this comes before any stderr output.  */
2920      fflush (stdout);
2921  }  }

Legend:
Removed from v.1.194  
changed lines
  Added in v.1.195

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26