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

clozano at quavantis.com clozano at quavantis.com
Mon Mar 14 04:51:27 PST 2005


I've checked out the last version from the CVS... clean compile... WKB 
problems no longer occur on AMD64! Everything works perfectly.

Thanks guys!

Salutacions - Un Saludo - Regards, 

Carlos Lozano Diez
==============================
 Quavantis - mWorld Company 
 Mobile & Wireless Solutions

 Email:  clozano at quavantis.com
 Phone: +34 93 4515125
 Mobile:  +34  678 746275
 Web:  http://www.quavantis.com
 
 Office (Spain): 
                Villarroel 70, 2º 1º
                08011 Barcelona
 Office (UK):
                16-19 Southampton Place
                London, WC2A 2AJ
==============================


postgis-devel-bounces at postgis.refractions.net wrote on 10/03/2005 
20:15:09:

> 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
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20050314/e1821e63/attachment.html>


More information about the postgis-devel mailing list