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

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.bin/make/main.c between version 1.118 and 1.119

version 1.118, 2006/01/22 19:54:55 version 1.119, 2006/02/18 04:10:05
Line 639  main(int argc, char **argv)
Line 639  main(int argc, char **argv)
         static char defsyspath[] = _PATH_DEFSYSPATH;          static char defsyspath[] = _PATH_DEFSYSPATH;
         char found_path[MAXPATHLEN + 1];        /* for searching for sys.mk */          char found_path[MAXPATHLEN + 1];        /* for searching for sys.mk */
         struct timeval rightnow;                /* to initialize random seed */          struct timeval rightnow;                /* to initialize random seed */
   #ifdef MAKE_NATIVE
           struct utsname utsname;
   #endif
   
         /*          /*
          * Set the seed to produce a different random sequences           * Set the seed to produce a different random sequences
Line 709  main(int argc, char **argv)
Line 712  main(int argc, char **argv)
          */           */
         if (!machine) {          if (!machine) {
 #ifdef MAKE_NATIVE  #ifdef MAKE_NATIVE
             struct utsname utsname;  
   
             if (uname(&utsname) == -1) {              if (uname(&utsname) == -1) {
                 (void)fprintf(stderr, "%s: uname failed (%s).\n", progname,                  (void)fprintf(stderr, "%s: uname failed (%s).\n", progname,
                     strerror(errno));                      strerror(errno));

Legend:
Removed from v.1.118  
changed lines
  Added in v.1.119

CVSweb <webmaster@jp.NetBSD.org>