[distcc] please test 2.9cvs

Wayne Davison wayned at users.sourceforge.net
Fri Jul 18 06:47:10 GMT 2003


On Fri, Jul 18, 2003 at 03:48:52PM +1000, Martin Pool wrote:
> I would like to release 2.9 on the weekend.  The main change is that
> LZO compression can now be used, which can make builds much faster
> over anything slower than 100Mbps ethernet.

The NEWS file says 10Mbps, BTW.  Is the email more accurate, or the NEWS
file?

I've done some simple tests, and both normal and ",lzo" connections
appear to be work OK so far.  I'll keep you posted.

Also, I'd like to see the simple PATH patch applied that makes distccd
stop scanning the PATH if it finds a non-symlink "cc".  This is at least
an improvement to the current heuristic until a better solution is
implemented.

..wayne..
-------------- next part --------------
--- src/util.c	16 Jun 2003 02:25:10 -0000	1.40
+++ src/util.c	18 Jul 2003 06:46:33 -0000
@@ -263,8 +263,10 @@
         strncpy(buf, p, len);
 
         sprintf(buf + len, "/%s", compiler_name);
-        if (lstat(buf, &sb) == -1 || !S_ISLNK(sb.st_mode))
+        if (lstat(buf, &sb) == -1)
             continue;
+        if (!S_ISLNK(sb.st_mode))
+            break;
         if ((len = readlink(buf, linkbuf, sizeof linkbuf)) <= 0)
             continue;
         linkbuf[len] = '\0';


More information about the distcc mailing list