bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: multiple definition of `gl_locale_name_thread'


From: Sisyphus
Subject: Re: multiple definition of `gl_locale_name_thread'
Date: Fri, 21 May 2010 12:54:09 +1000


----- Original Message ----- From: "Bruno Haible" <address@hidden>

--- gettext-runtime/intl/gettextP.h.orig Fri May 21 01:14:45 2010
+++ gettext-runtime/intl/gettextP.h Fri May 21 01:14:40 2010
@@ -1,5 +1,5 @@
/* Header describing internals of libintl library.
- Copyright (C) 1995-1999, 2000-2007, 2009 Free Software Foundation, Inc. + Copyright (C) 1995-1999, 2000-2007, 2009-2010 Free Software Foundation, Inc.
   Written by Ulrich Drepper <address@hidden>, 1995.

   This program is free software; you can redistribute it and/or modify it
@@ -238,6 +238,9 @@
# define gl_locale_name_thread_unsafe _nl_locale_name_thread_unsafe
extern const char *_nl_locale_name_thread_unsafe (int category,
   const char *categoryname);
+# define gl_locale_name_thread _nl_locale_name_thread
+/* extern const char *_nl_locale_name_thread (int category,
+       const char *categoryname); */
# define gl_locale_name_posix _nl_locale_name_posix
extern const char *_nl_locale_name_posix (int category,
   const char *categoryname);

Thanks Bruno. With that patch applied, gettext-0.18 builds "straight out of the box" for me.

And the test results are much improved over 0.17, too:

=======================
1 of 313 tests failed
(29 tests were not run)
=======================

When output is redirected to a file ('make check >m.txt 2>&1'), I see in m.txt:

PASS: msgexec-3
33c33
< context: Océ
---
context: OcǸ
FAIL: msgexec-4

When the output goes to the msys console, I see:

PASS: msgexec-3
33c33
< context: Océ
---
context: OcǸ
FAIL: msgexec-4

I haven't done any investigating.

Thanks again for the fix, and let me know if there's something further I can do wrt the failing test.

(Posting as unicode - hope that will retain the non-ascii characters above.)

Cheers,
Rob



reply via email to

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