Nmap Development mailing list archives

Re: Nmap on Android: bitset


From: Kris Katterjohn <katterjohn () gmail com>
Date: Fri, 20 Aug 2010 09:33:47 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/20/2010 03:17 AM, Vlatko Kosturjak wrote:
On 08/20/2010 06:58 AM, David Fifield wrote:
What is the problem with the localeconv function on Android? Is it
completely missing, or does the lconv struct not have the decimal_point
member? If the function is completely missing, I think we can replace it
with a dummy function that always returns NULL and then liblua might not
have to change.

It is problem of "lconv struct not have the decimal_point member".
Here's the full compiler error/output:

droid-gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing   -DLUA_USE_POSIX
-DLUA_USE_DLOPEN   -c -o llex.o llex.c
llex.c: In function 'trydecpoint':
llex.c:181: error: 'struct lconv' has no member named 'decimal_point'


Have you looked in locale.h to see what's in lconv{}?  I think decimal_point
is defined in ISO C (and POSIX), so maybe there is some macro you can define
somewhere to get this member?  Or maybe there is just a weird replacement in
there...

Kost

Cheers,
Kris Katterjohn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIbBAEBAgAGBQJMbpJLAAoJEEQxgFs5kUfuJhkP+PAd8D11o/Hq2qkB0oZsRFcZ
kj/DhbO72jxd5M2UnHgyd9QJAjULlPK57iQj36HvalBr60ACR3LGVZ+zYyLdo/xx
og89Z9eLvLqpHqz/TXnhYaPajm6s7UelXr+wHz6wdWB+xcsSiLFqoKrlKTel6Qu+
xaWmOoF2qBtiK1YvEIi9k91aKhOZY96sBlRdBe+HTdPFzkh46L7CvQ95sx6YHG5v
tJ2dKaQF74g7ivmrw+9Z5Vr0MjOrBjYLxaOYdOpZomgAjCckfFxow0AfDN/YrCWF
87oh32Qvfk21KLXpq6p1ECwTmymk6Qeh05T+MI0ZgjjzQaZ+/FgfHRMWwiOd/AkN
k92wfZRqoedaNKyNCC3+xMrDMIIkrZbHDs6gDZA9Lo6sIkCwc3USpOQZGqeYnRwM
NAaYCT0vMjUmjsL0FRZ6M0DiD+0Elaxay/dzDXcCm3srJGpODj5H1rNSXXvCWdJr
t5lZoK6nVZpwIbaXwYPDa77yGTf5EEzfN4vG2lxQ6mU6BM+U3q/FtqlN1pWRUlTG
wsLB8of/+S3mCpNsOlC/aqFGEajix/WhR+PCcFudRg9XhTjDfvk8zl0avHg11kSe
WGV4mRD8eRr6H6oLxN5/5KUcWdrtAoIX4XnXPONL52KQthIKnyYynKYhnu06kLvt
YYkYmV9GxPBw6sm4MM0=
=84Tp
-----END PGP SIGNATURE-----
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: