[Bug libc/5537] strtod under tr_TR locale
------- Additional Comments From ismail at pardus dot org dot tr 2008-01-03 21:25 -------
FWIW following testcase works for me with glibc 2.7 & tr_TR.UTF-8
#include <stdio.h>
#include <ctype.h>
#include <locale.h>
#include <stdlib.h>
#include <errno.h>
int main(int argc, char **argv)
{
int i;
double ret;
char *e = NULL;
setlocale(LC_ALL, "");
errno = 0;
ret = strtod(argv[1], &e);
if (errno != 0) { perror("strtol"); }
printf("%.18f [%s]\n", ret, e);
return 0;
}
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5537
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: