This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/5] Refactor bug-strtod2.c to be type generic


On Mon, 16 May 2016, Paul E. Murphy wrote:

> +  if (setlocale (LC_ALL, "tr_TR.UTF-8") == NULL)			\
> +    {									\
> +      puts ("cannot set locale");					\
> +      return 0;								\
> +    }									\

I think it's more natural for this to go once in do_test, before calling 
STRTOD_TEST_FOREACH, rather than repeating this for each type.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]