Author: tqh Date: 2011-05-01 14:18:17 +0200 (Sun, 01 May 2011) New Revision: 41296 Changeset: https://dev.haiku-os.org/changeset/41296 Modified: buildtools/trunk/jam/README.CHANGES buildtools/trunk/jam/make.c Log: Make the ..patience.. count comparison postinc so it shows one at the start and use every 10k target instead. Modified: buildtools/trunk/jam/README.CHANGES =================================================================== --- buildtools/trunk/jam/README.CHANGES 2011-05-01 12:09:05 UTC (rev 41295) +++ buildtools/trunk/jam/README.CHANGES 2011-05-01 12:18:17 UTC (rev 41296) @@ -160,5 +160,5 @@ 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) Modified: buildtools/trunk/jam/make.c =================================================================== --- buildtools/trunk/jam/make.c 2011-05-01 12:09:05 UTC (rev 41295) +++ buildtools/trunk/jam/make.c 2011-05-01 12:18:17 UTC (rev 41296) @@ -461,7 +461,7 @@ 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 )