Follow-up Comment #2, bug #57242 (project make):

[comment #1 comment #1:]
> Stefan, the behavior you described is intended.
> make closes the pipe unless the command has + or (MAKE) or {MAKE}.
> This is necessary, because a command can mess up job server operation or a
command may expect a specific fd to be available.

Then at least the information should be consistent and the MAKEFLAGS should
not mention jobserver FDs.

As is, it already messes up make itself - a make process invocated indirectly
may get valid filedescriptors *not* belonging to the jobserver, and start busy
looping on the "read(rfd, 1)" call (when the other end is closed and read
returns 0).

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57242>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to