Follow-up Comment #6, bug #46261 (project make):

How do we know that the earlier call to duplicate the file descriptor in the
new_job() subroutine of job.c succeeds?

        /* Make sure we have a dup'd FD.  */
        if (job_rfd < 0)
          {
            DB (DB_JOBS, ("Duplicate the job FDn"));
            job_rfd = dup (job_fds[0]);
          }

There does't be a check if -1 was returned to job_rd or any error code placed
on the global errno.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46261>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to