bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

test failures on DragonFly BSD (2)


From: Bruno Haible
Subject: test failures on DragonFly BSD (2)
Date: Mon, 12 Jun 2017 02:07:05 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-79-generic; KDE/5.18.0; x86_64; ; )

On DragonFly BSD 3.8, I'm seeing this failure:


FAIL: test-localename
=====================

../../gltests/test-localename.c:183: assertion 'strcmp (name, "fr_FR.UTF-8") == 
0' failed
FAIL test-localename (exit status: 134)


This fixes it.


2017-06-11  Bruno Haible  <address@hidden>

        localename: Fix test failure on DragonFly BSD.
        * lib/localename.c (gl_locale_name_thread_unsafe): Treat DragonFly BSD
        like FreeBSD.

diff --git a/lib/localename.c b/lib/localename.c
index eb0755c..3a11928 100644
--- a/lib/localename.c
+++ b/lib/localename.c
@@ -2703,7 +2703,7 @@ gl_locale_name_thread_unsafe (int category, const char 
*categoryname)
              nl_langinfo (_NL_LOCALE_NAME (category)).  */
           name = thread_locale->__names[category];
         return name;
-#  elif defined __FreeBSD__ || (defined __APPLE__ && defined __MACH__)
+#  elif (defined __FreeBSD__ || defined __DragonFly__) || (defined __APPLE__ 
&& defined __MACH__)
         /* FreeBSD, Mac OS X */
         int mask;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]