Closed GoogleCodeExporter closed 9 years ago
There is a patch for this on Debian BTS[1] which you may be aware of.
src/stringmap.c uses PATH_MAX to size a read buffer, not to actually store
paths. Looks like the patch author opted to just set this to a reasonable
default instead of (more appropriately) renaming the constant.
src/zeroconf.c doesn't need PATH_MAX as the size of the paths are known in
advance.
Both of which seem acceptable solutions. After applying the program compiles
on all Debian buildds.[2]
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638258
[2] https://buildd.debian.org/status/package.php?p=distcc
Original comment by mand...@gmail.com
on 16 Mar 2012 at 3:59
The patch looks good to me.
Applied to the distcc svn repository in revision 765.
Original comment by fergus.h...@gmail.com
on 10 Apr 2012 at 5:24
Original issue reported on code.google.com by
martinp...@gmail.com
on 14 Dec 2010 at 10:30