[BACK]Return to main.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/main.c between version 1.51 and 1.52

version 1.51, 2001/05/31 13:38:48 version 1.52, 2001/06/03 16:33:48
Line 586 
Line 586 
         Lst_Init(create);          Lst_Init(create);
         Lst_Init(&makefiles);          Lst_Init(&makefiles);
         Lst_Init(&varstoprint);          Lst_Init(&varstoprint);
           Lst_Init(&targs);
   
         beSilent = false;               /* Print commands as executed */          beSilent = false;               /* Print commands as executed */
         ignoreErrors = false;           /* Pay attention to non-zero returns */          ignoreErrors = false;           /* Pay attention to non-zero returns */
         noExecute = false;              /* Execute all commands */          noExecute = false;              /* Execute all commands */
Line 743 
Line 745 
             /* Have now read the entire graph and need to make a list of targets              /* Have now read the entire graph and need to make a list of targets
              * to create. If none was given on the command line, we consult the               * to create. If none was given on the command line, we consult the
              * parsing module to find the main target(s) to create.  */               * parsing module to find the main target(s) to create.  */
             Lst_Init(&targs);  
             if (Lst_IsEmpty(create))              if (Lst_IsEmpty(create))
                 Parse_MainName(&targs);                  Parse_MainName(&targs);
             else              else
Line 769 
Line 770 
             }              }
         }          }
   
   #ifdef CLEANUP
         Lst_Destroy(&targs, NOFREE);          Lst_Destroy(&targs, NOFREE);
         Lst_Destroy(&varstoprint, NOFREE);          Lst_Destroy(&varstoprint, NOFREE);
         Lst_Destroy(&makefiles, NOFREE);          Lst_Destroy(&makefiles, NOFREE);
         Lst_Destroy(create, (SimpleProc)free);          Lst_Destroy(create, (SimpleProc)free);
   #endif
   
         /* print the graph now it's been processed if the user requested it */          /* print the graph now it's been processed if the user requested it */
         if (DEBUG(GRAPH2))          if (DEBUG(GRAPH2))

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52