[postgis-devel] PostGIS 1.4 SVN geometry parser hints

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Wed Oct 15 14:46:36 PDT 2008


Paul Ramsey wrote:

>> Hmmm that looks like an incorrect pointer, perhaps somewhere in the pointer
>> arithmetic :(  Unfortunately I can't re-create that here - which platform
>> are you working on? Does stepping through pg_parser_errhint() in lwgeom_pg.c
>> yield anything obvious?
> 
> OS/X 10.5, Intel. I'll step through it later today when I get a moment.
> 
> P.

Gah, I think I got out - strncpy() doesn't pad with zeros unless the 
specified length is *greater* than the source string length. Does an 
"svn up" solve the problem for you now?


ATB,

Mark.

-- 
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063



More information about the postgis-devel mailing list