Nmap Development mailing list archives

Re: Nmap on Android: localeconv in liblua


From: David Fifield <david () bamsoftware com>
Date: Mon, 6 Sep 2010 16:07:37 -0600

On Fri, Aug 20, 2010 at 05:14:12PM +0200, Vlatko Kosturjak wrote:
On 08/20/2010 04:33 PM, Kris Katterjohn wrote:
On 08/20/2010 03:17 AM, Vlatko Kosturjak wrote:
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...

:)

locale.h part in bionic:

struct lconv { };
struct lconv *localeconv(void);

From: http://lxr.e2g.org/source/bionic/libc/README

"...Bionic is mainly a port of the BSD C library to our Linux kernel
with the following additions/changes:

  - no support for locales..."

Patrick D., do you know if this is a known issue with the Lua
developers? I couldn't find anything through a web search.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: