Re: Default Windows locale for localename.c

2018-03-12 Thread Eli Zaretskii
> From: lrn1...@gmail.com > Date: Fri, 9 Mar 2018 01:51:44 +0300 > > Currently localename.c (which is used by gettext, so it's really everywhere) > calls GetThreadLocale() to get current locale identifier (if LC_* or LANG are > not set). That's not entirely accurate, at least not wrt the

Re: Default Windows locale for localename.c

2018-03-12 Thread lrn1986
On 12.03.2018 20:20, Eli Zaretskii wrote: From: lrn Date: Fri, 9 Mar 2018 01:51:44 +0300 Currently localename.c (which is used by gettext, so it's really everywhere) calls GetThreadLocale() to get current locale identifier (if LC_* or LANG are not set). That's not entirely accurate, at least

Re: Avoidable warning in getdtable.c?

2018-03-12 Thread Paul Eggert
On 03/09/2018 04:25 PM, Reuben Thomas wrote: According to this Open Group reference page http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/resource.h.html : rlim_t: Unsigned integer type used for limit values. rlim_t is signed on some non-POSIX platforms so the comparison is needed

Re: Default Windows locale for localename.c

2018-03-12 Thread Eli Zaretskii
[Please CC me on the responses, as I'm not subscribed to this list.] > From: lrn1...@gmail.com > Date: Mon, 12 Mar 2018 23:23:21 +0300 > > >const char * > >gl_locale_name (int category, const char *categoryname) > >{ > > const char *retval; > > > > retval =