I re-named and found things began working... I am hesitant to commit my patch though, since I know SFA about C at this point. In particular, what bits to rename in getopt.h were not clear to me, so I renamed every *getopt function, which may have been overkill.

P

On Dec 30, 2007, at 10:44 AM, William Kyngesburye wrote:

On Dec 30, 2007, at 12:16 PM, William Kyngesburye wrote:

If the two different declarations of getopt are causing the problem, I wonder if Apple's getopt will work (it's BSD getopt)? Or did you customize getopt for postgis?


Well, Apple's BSD getopt works in 64bit mode, but not 32bit mode. This time it seems to be not getting the options correctly, and I get an error that:

shape (.shp) or index files (.shx) can not be opened.

So Apple's getopt is not a usable alternative. This may be another case of needing to rename it (like the earlier get_uint32 problem).


-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"I ache, therefore I am.  Or in my case - I am, therefore I ache."

- Marvin


_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to