Re: [PATCH] FreeBSD gl_locale_name_thread_unsafe implementation

2012-09-13 Thread Ed Maste
On 13 September 2012 12:38, Paul Eggert wrote: > Thanks. Do you happen to know whether (defined __APPLE__) > implies (defined __FreeBSD__)? If so, the following patch > should also work, and should be simpler. I'm asking because > I don't use either OS X or FreeBSD, normally. __FreeBSD__ isn't

Re: [PATCH] FreeBSD gl_locale_name_thread_unsafe implementation

2012-09-13 Thread Paul Eggert
Thanks. Do you happen to know whether (defined __APPLE__) implies (defined __FreeBSD__)? If so, the following patch should also work, and should be simpler. I'm asking because I don't use either OS X or FreeBSD, normally. diff --git a/lib/localename.c b/lib/localename.c index c6777de..929a233 1

[PATCH] FreeBSD gl_locale_name_thread_unsafe implementation

2012-09-13 Thread Ed Maste
The patch below adds an implementation of gl_locale_name_thread_unsafe for FreeBSD. With this change all of the gllib tests will pass on FreeBSD HEAD. --- a/lib/localename.c +++ b/lib/localename.c @@ -2617,6 +2617,34 @@ gl_locale_name_thread_unsafe (int category, const char *categoryname)