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
This commit is contained in:
Fredrik Holmqvist 2011-05-01 12:18:17 +00:00
parent 7982f87b1e
commit 96ef6353b0
2 changed files with 2 additions and 2 deletions

View File

@ -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 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 as it might be interesting in some cases. Also added a "Build Failure" at
the end if there were failed targets. (Fredrik Holmqvist) 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) (Fredrik Holmqvist)

View File

@ -461,7 +461,7 @@ make0(
if( t->flags & T_FLAG_INTERNAL ) if( t->flags & T_FLAG_INTERNAL )
return; return;
if( !( ++counts->targets % 5000 ) && DEBUG_MAKE ) if( !( counts->targets++ % 10000 ) && DEBUG_MAKE )
printf( "...patience...\n" ); printf( "...patience...\n" );
if( fate == T_FATE_ISTMP ) if( fate == T_FATE_ISTMP )