Commit Graph

7 Commits

Author SHA1 Message Date
Franck LeCodeur
cc988c8c90 jam: Fix build warning. Add missing include for Linux.
Warning was:

Cc bin.linuxx86/execunix.o
execunix.c: In function ‘execwait’:
execunix.c:301:19: warning: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration]
  301 |      while( ( w = wait( &status ) ) == -1 && errno == EINTR )
      |

Change-Id: I7c0e53db8d18e9e6cb317980cb9be9026b7fce20
Reviewed-on: https://review.haiku-os.org/c/buildtools/+/4400
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-08-30 16:36:29 +00:00
Augustin Cavalier
c473a032a0 jam: Use posix_spawn on Haiku. 2020-05-30 00:01:23 -04:00
Jérôme Duval
923a34a14b jam: use posix_spawnp() instead of fork() on linux.
the gain is about 10% on a 8-job kernel full build.
2018-01-06 16:48:36 +01:00
Oliver Tappe
bc712e7525 Fix format-related warnings during build of jam. 2014-08-10 17:16:21 +02:00
Oliver Tappe
6c03949644 Fix warnings when building jam.
Sorry for the included whitespace cleanup.
2014-05-12 23:18:24 +02:00
Oliver Tappe
c4d9c2df99 * fixed bug when waiting for sub-process related to handling of multiple
children (as created by piped commands). This caused the compilation
  of AboutHaiku to fail on Zeta.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-13 14:27:48 +00:00
Ingo Weinhold
ecc89c9a6a Moved jam into the buildtools modules, where it belongs.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-29 18:40:48 +00:00