Print this page
make: unifdef SUN5_0 (defined)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/bin/parallel.cc
          +++ new/usr/src/cmd/make/bin/parallel.cc
↓ open down ↓ 2320 lines elided ↑ open up ↑
2321 2321                                  static char *argv[] = { NOCATGETS("sh"),
2322 2322                                                          script_file,
2323 2323                                                          NULL};
2324 2324                                  (void) execve(NOCATGETS("/bin/sh"), argv, environ);
2325 2325                          }
2326 2326                          fprintf(stderr,
2327 2327                                  catgets(catd, 1, 349, "Could not load `qrsh': %s\n"),
2328 2328                                  errmsg(errno));
2329 2329                          _exit(1);
2330 2330                  } else {
2331      -#if defined (HP_UX) || defined (linux) || defined (SUN5_0)
2332 2331                          int             status;
2333      -#else
2334      -                        union wait      status;
2335      -#endif
2336 2332                          pid_t pid;
2337 2333                          while ((pid = wait(&status)) != childPid) {
2338 2334                                  if (pid == -1) {
2339 2335                                          fprintf(stderr,
2340 2336                                                  catgets(catd, 1, 350, "wait() failed: %s\n"),
2341 2337                                                  errmsg(errno));
2342 2338                                          _exit(1);
2343 2339                                  }
2344 2340                          }
2345 2341                          if (status != 0 && i > 0) {
↓ open down ↓ 127 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX