[distcc] Fix for FIXME in dcc_trim_path()

Martin Pool mbp at samba.org
Thu Apr 10 04:46:04 GMT 2003

On  9 Apr 2003, Wayne Davison <wayned at users.sourceforge.net> wrote:
> Martin:  any comments on this patch:
>     http://www.blorf.net/distcc-fix.patch
> It fixes the FIXME in dcc_trim_path() by ensuring that we look for the
> executable name that was passed to the invocation of distcc (in the
> non-masquerading scenario).  The distccd init still looks for "cc" since
> we don't have a specified compiler name at startup time and "cc" is the
> most common name to masquerade (I assume).

Thanks, I read it.

I think this needs a unit test.  I wanted to write it when I merged it
so I didn't forget.

If it's invoked as "distcc gcc-3.2" then it needs to check for
gcc-3.2, which I don't think it does at the moment.

This should be in 2.1.


More information about the distcc mailing list