diff -Nur boost_1_51_0.orig/tools/build/v2/engine/execunix.c boost_1_51_0/tools/build/v2/engine/execunix.c
old
|
new
|
|
392 | 392 | |
393 | 393 | /* Compute max read file descriptor for use in select. */ |
394 | 394 | FD_ZERO(fds); |
395 | | for ( i = 0; i < globs.jobs; ++i ) |
| 395 | for ( i = 0; i < MAXJOBS && i < globs.jobs; ++i ) |
396 | 396 | { |
397 | 397 | if ( 0 < cmdtab[ i ].fd[ OUT ] ) |
398 | 398 | { |
… |
… |
|
473 | 473 | |
474 | 474 | if ( 0 < ret ) |
475 | 475 | { |
476 | | for ( i = 0; i < globs.jobs; ++i ) |
| 476 | for ( i = 0; i < MAXJOBS && i < globs.jobs; ++i ) |
477 | 477 | { |
478 | 478 | int out = 0; |
479 | 479 | int err = 0; |