[distcc] distcc 2.12.1 patch for Tru64 UNIX

Martin Pool mbp at samba.org
Fri Mar 5 06:26:56 GMT 2004


On  4 Mar 2004, Albert Chin <distcc at mlists.thewrittenword.com> wrote:
> On Sun, Feb 29, 2004 at 02:41:05PM +1100, Martin Pool wrote:
> > On 19 Feb 2004, Albert Chin <distcc at mlists.thewrittenword.com> wrote:
> > > Tru64 UNIX was failing the ParseMask_Case test until I applied the
> > > patch below.
> > > 
> > 
> > Sorry, I don't understand properly why this is needed. 
> > 
> > I suppose long on tru64 is 64 bits.  Won't truncation just work when
> > it's cast into in_addr_t?
> 
> sizeof(long) == 8
> in_addr_t is 'unsigned int' and sizeof(int) == 4.

Right, but what is wrong with this?

 unsigned int a = (unsigned int) LONG_LITERAL;

I must just be being thick..

-- 
Martin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20040305/3b7918f8/attachment.bin


More information about the distcc mailing list