From 96ef6353b06f89c1e696ef8de71e3e129d4d056c Mon Sep 17 00:00:00 2001 From: Fredrik Holmqvist Date: Sun, 1 May 2011 12:18:17 +0000 Subject: [PATCH] Make the ..patience.. count comparison postinc so it shows one at the start and use every 10k target instead. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@41296 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- jam/README.CHANGES | 2 +- jam/make.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jam/README.CHANGES b/jam/README.CHANGES index 2e6e561cf1..0834139de1 100644 --- a/jam/README.CHANGES +++ b/jam/README.CHANGES @@ -160,5 +160,5 @@ adjusted more or less to work with 2.5rc3. info in noise (why it failed). It should probably be a command line option as it might be interesting in some cases. Also added a "Build Failure" at the end if there were failed targets. (Fredrik Holmqvist) -* Only write "...patience..." every 5000th target instead of 1000th. +* Only write "...patience..." every 10000th target instead of 1000th. (Fredrik Holmqvist) diff --git a/jam/make.c b/jam/make.c index 80be7af47a..292beadaf8 100644 --- a/jam/make.c +++ b/jam/make.c @@ -461,7 +461,7 @@ make0( if( t->flags & T_FLAG_INTERNAL ) return; - if( !( ++counts->targets % 5000 ) && DEBUG_MAKE ) + if( !( counts->targets++ % 10000 ) && DEBUG_MAKE ) printf( "...patience...\n" ); if( fate == T_FATE_ISTMP )