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 14:01:47 +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 #4, bug #46261 (project make):

The offending code...

#else
        /* Set interruptible system calls, and read() for a job token.  */
        set_child_handler_action_flags (1, waiting_jobs != NULL);
        got_token = read (job_rfd, &token, 1);
        saved_errno = errno;
        set_child_handler_action_flags (0, waiting_jobs != NULL);

in new_job() of job.c doesn't seem suitable for applying the EINTRLOOP()
macro. Changing the line for....

 got_token = read (job_rfd, &token, 1);

to 

EINTRLOOP(got_token, read (job_rfd, &token, 1));

converts the gcc 5.2.0 build failure from...

make[5]: *** read jobs pipe: No such file or directory. Stop. 

to an Error 141 code.


    _______________________________________________________

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]