bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #46261] missing usage of EINTRLOOP macro


From: Jack Howarth
Subject: [bug #46261] missing usage of EINTRLOOP macro
Date: Wed, 21 Oct 2015 15:05:33 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.7 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.7

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]