[distcc] patch helps debugging PATH problems

Wayne Davison wayned at users.sourceforge.net
Wed May 14 07:41:22 GMT 2003


On Wed, May 14, 2003 at 10:48:11AM +1000, Martin Pool wrote:
> Done, thanks.

If I may pick a nit with the log message you committed, the PATH may not
actually get modified, so maybe something like this would be better:

Index: src/util.c
--- src/util.c	14 May 2003 00:47:39 -0000	1.35
+++ src/util.c	14 May 2003 07:38:12 -0000
@@ -240,7 +240,7 @@
         return 0;
     }
 
-    rs_trace("modifying PATH from original setting of %s", envpath);
+    rs_trace("startup PATH: %s", envpath);
 
     if (compiler_name)
 	look_for_ccache_too = 0;

That avoids the log message sequence of "modifying PATH..." followed by
"not modifying PATH".

..wayne..



More information about the distcc mailing list