From: Bruno Haible Date: Mon, 15 Oct 2018 08:05:13 +0000 (+0200) Subject: Update test after gnulib module 'localcharset' changed. X-Git-Tag: v0.20~353 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f80eb07a0de9cacd8d85ebffbfd26453394be93;p=thirdparty%2Fgettext.git Update test after gnulib module 'localcharset' changed. * gettext-tools/tests/gettext-4-prg.c: Treat Haiku like BeOS. --- diff --git a/gettext-tools/tests/gettext-4-prg.c b/gettext-tools/tests/gettext-4-prg.c index cb5fca3da..ad08a2b13 100644 --- a/gettext-tools/tests/gettext-4-prg.c +++ b/gettext-tools/tests/gettext-4-prg.c @@ -1,5 +1,5 @@ /* Test program, used by the gettext-4 test. - Copyright (C) 2001, 2005-2006, 2015-2016 Free Software Foundation, Inc. + Copyright (C) 2001, 2005-2006, 2013, 2018 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -51,9 +51,9 @@ main (int argc, char *argv[]) bindtextdomain ("codeset", "gt-4"); /* Here we expect output in ISO-8859-1. - Except on Darwin 7 or newer and on BeOS, for which locale_charset () - always returns "UTF-8" (see config.charset). */ -#if !((defined __APPLE__ && defined __MACH__) || defined __BEOS__) + Except on Darwin 7 or newer and on BeOS and Haiku, for which + locale_charset () always returns "UTF-8" (see localcharset.c). */ +#if !((defined __APPLE__ && defined __MACH__) || defined __BEOS__ || defined __HAIKU__) s = gettext ("cheese"); if (strcmp (s, "K\344se")) {