[postgis-devel] WKB Problems on 64-Bit Linux
strk at refractions.net
strk at refractions.net
Thu Mar 10 11:15:09 PST 2005
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;
On Thu, Mar 10, 2005 at 10:19:52AM -0000, Mark Cave-Ayland wrote:
>
>
> > -----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: 08 March 2005 18:22
> > To: PostGIS Development Discussion
> > Subject: Re: [postgis-devel] WKB Problems on 64-Bit Linux
>
> (cut)
>
> > Maybe I have completely different problems here. Sorry, but I
> > just started building code on the AMD64...
> >
> > BTW, were all 0.x working fine ? Could you check 0.9.2 ?
> > If it is an *old* bug/missupport we might take care of it for
> > 1.0.1 ...
> >
> > --strk;
>
>
> Hi strk,
>
> I've loaded in several very large geometry tables into a database on AMD64
> under PostGIS 0.9.1 without any problems, so it's a 1.0.0 issue.
>
>
> 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
>
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
More information about the postgis-devel
mailing list