Lionel Sambuc 7d98eee859 usr.bin/make: -j fix
The job option enable the usage of pipes to communicate with sub-makes.

On MINIX, it seems that there is possibility of receiving an EAGAIN on
such reads, even when it had previously been tested for POLLIN using
poll().

This patch is a workaround, by wrapping the read operation within a
do {} while(errno == EAGAIN && ...) loop.

Change-Id: Ia184c4d600efe7218d197820df87761604120862
2014-07-28 17:05:15 +02:00
..
2013-01-14 11:36:27 +01:00
2013-01-14 11:36:27 +01:00
2013-01-14 11:36:27 +01:00
2013-01-14 11:36:27 +01:00
2014-07-28 17:05:15 +02:00
2013-01-14 11:36:27 +01:00
2013-01-14 11:36:27 +01:00
2013-01-14 11:36:27 +01:00
2013-01-14 11:36:27 +01:00