Peter Fales wrote: > This change fixes the problem in in test-wcwidth. Thanks for confirming this. I'm applying this change to the test. (One can hardly say "fix", since the behaviour of various Unicode characters in wcwidth is not clearly standardized.)
2008-01-01 Bruno Haible <[EMAIL PROTECTED]> * tests/test-wcwidth.c (main): Relax test of U+2060. Avoids a test failure on older glibc systems. Reported by Peter Fales <[EMAIL PROTECTED]>. *** tests/test-wcwidth.c.orig 2008-01-01 16:00:49.000000000 +0100 --- tests/test-wcwidth.c 2008-01-01 16:00:37.000000000 +0100 *************** *** 1,5 **** /* Test of wcwidth() function. ! Copyright (C) 2007 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 --- 1,5 ---- /* Test of wcwidth() function. ! Copyright (C) 2007-2008 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 *************** *** 57,63 **** /* Test width of some format control characters. */ ASSERT (wcwidth (0x200E) <= 0); ! ASSERT (wcwidth (0x2060) == 0); #if 0 /* wchar_t may be only 16 bits. */ ASSERT (wcwidth (0xE0001) <= 0); ASSERT (wcwidth (0xE0044) <= 0); --- 57,63 ---- /* Test width of some format control characters. */ ASSERT (wcwidth (0x200E) <= 0); ! ASSERT (wcwidth (0x2060) <= 0); #if 0 /* wchar_t may be only 16 bits. */ ASSERT (wcwidth (0xE0001) <= 0); ASSERT (wcwidth (0xE0044) <= 0);