Overview
SHA1 Hash: | 137d653a065d0d6adb6d96e6141a8a17635cc8d7 |
---|---|
Date: | 2009-12-14 23:26:03 |
Edited User: | jeremy_c |
Original User: | Jeremy |
Comment: | Found two more places that fQuiet should have been checked. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- date=2009-12-14 23:26:03 added by [f79af64f19] on 2009-12-14 23:28:52
- sym-trunk inherited from [a28c83647d]
- user=jeremy_c added by [f79af64f19] on 2009-12-14 23:28:52
Changes
[hide diffs]Modified src/rebuild.c from [ab6ed5de1a] to [0c81bac41f].
@@ -91,12 +91,14 @@ static void rebuild_step_done(rid){ /* assert( bag_find(&bagDone, rid)==0 ); */ bag_insert(&bagDone, rid); if( ttyOutput ){ processCnt++; - printf("%d (%d%%)...\r", processCnt, (processCnt*100/totalSize)); - fflush(stdout); + if (!g.fQuiet) { + printf("%d (%d%%)...\r", processCnt, (processCnt*100/totalSize)); + fflush(stdout); + } } } /* ** Rebuild cross-referencing information for the artifact @@ -206,11 +208,14 @@ char *zTable; bag_init(&bagDone); ttyOutput = doOut; processCnt = 0; - printf("0 (0%%)...\r"); fflush(stdout); + if (!g.fQuiet) { + printf("0 (0%%)...\r"); + fflush(stdout); + } db_multi_exec(zSchemaUpdates); for(;;){ zTable = db_text(0, "SELECT name FROM sqlite_master" " WHERE type='table'" @@ -273,11 +278,11 @@ } } db_finalize(&s); manifest_crosslink_end(); rebuild_tag_trunk(); - if( ttyOutput ){ + if(!g.fQuiet && ttyOutput ){ printf("\n"); } return errCnt; }