Package: glibc-doc Version: 2.3.5-6 Severity: normal A program
#include <langinfo.h> #include <stdio.h> int main (void) { printf ("%s\n", nl_langinfo (DECIMAL_POINT)); return 0; } compiled with gcc foo.c gives an error foo.c:7: error: 'DECIMAL_POINT' undeclared (first use in this function) I see that it's necessary have #define _GNU_SOURCE to get DECIMAL_POINT defined from langinfo.h. I think the node "The Elegant and Fast Way" in the manual describing DECIMAL_POINT should note that or whatever feature test macro is necessary (assuming this is intentional). -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i586) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.10-1-386 Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]