[postgis-devel] WKB Problems on 64-Bit Linux

Mark Cave-Ayland m.cave-ayland at webbased.co.uk
Fri Mar 11 02:54:02 PST 2005


 

> -----Original Message-----
> From: postgis-devel-bounces at postgis.refractions.net 
> [mailto:postgis-devel-bounces at postgis.refractions.net] On 
> Behalf Of strk at refractions.net
> Sent: 10 March 2005 19:15
> To: 'PostGIS Development Discussion'
> Subject: Re: [postgis-devel] WKB Problems on 64-Bit Linux
> 
> 
> The bug is fixed for what I can tell.
> Our "int4" typedef is 8bytes in size :( and this was 
> confusing the code. I didn't force int4 to really be 4 bytes 
> ( w/out autoconf I wouldn't know how), but making sure int4 
> vars intended to be written-to from the byte stream readers 
> are initalized to zero fixes the bug.
> 
> Can all reporting guys check this out ?
> It's in current CVS, or - if you feel - this is enough:
> around line 689 in lwgeom/lwgparse.c
> -       int4 ret;
> +       int4 ret=0;
> 
> --strk;


Nice. It would be good to hear back from Markus and David to see whether
latest CVS solves the problem on their 64-bit platforms before RC4....


Kind regards,

Mark.

------------------------
WebBased Ltd
South West Technology Centre
Tamar Science Park
Plymouth
PL6 8BT 

T: +44 (0)1752 791021
F: +44 (0)1752 791023
W: http://www.webbased.co.uk





More information about the postgis-devel mailing list