[distcc] Patch?

Jean Delvare khali at linux-fr.org
Sat Mar 19 13:06:14 GMT 2005


Quoting myself:
> Can you please consider my patch for inclusion into distccmon-text?

On second thought, this slightly different one is just as efficient and
probably more easy to understand.

Thanks,
-- 
Jean Delvare
-------------- next part --------------
--- distcc-2.18.3/src/mon-text.c.orig	2004-10-24 07:05:49.000000000 +0200
+++ distcc-2.18.3/src/mon-text.c	2005-02-20 13:04:19.000000000 +0100
@@ -103,7 +103,9 @@
                    i->file, i->host, i->slot);
         }
 
-        printf("\n");
+        /* Scroll only if something is actually happening */
+        if (list)
+            printf("\n");
 
         /* XXX: usleep() is probably not very portable */
         usleep(delay * 1000000);


More information about the distcc mailing list