Follow-up Comment #1, bug #40725 (project make): I'm not sure what the rcmd*() stuff is here... is this part of the LD_PRELOAD provided by fakeroot?
In any event the POSIX standard clearly states that close(2) is entirely valid and completely safe to be called from a signal handler. For the list of async-signal-safe functions see the signal(7) man page on your system. Although I've not looked in depth at this it seems to me that if fakeroot is replacing the close() system call with a version (via LD_PRELOAD) which is not async-signal-safe, then that's a problem with fakeroot. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?40725> _______________________________________________ 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