3 Mar 2003 18:25
Re: Re: mbswidth.c portability fix for UnixWare 7.1.1
Bruno Haible <bruno <at> clisp.org>
2003-03-03 17:25:20 GMT
2003-03-03 17:25:20 GMT
Paul Eggert writes: > I installed the following patch into Bison. OK to check into gnulib? > It seems pretty straightforward. > > 2003-02-28 Paul Eggert <eggert <at> twinsun.com> > > * lib/mbswidth.c: Include <wchar.h> before "mbswidth.h", to work > around a UnixWare 7.1.1 porting bug reported by John Hughes in > <http://mail.gnu.org/archive/html/bug-bison/2003-02/msg00030.html>. I prefer to fix this by changing mbswidth.h to do the #if HAVE_WCHAR_H # include <wchar.h> #endif This way 1. the ordering problem will be fixed not only in mbswidth.c but also in other files that happen to use both mbswidth.h and wchar.h (such as ls.c), 2. the specification header can be kept being included first, after only "config.h" and <alloca.h>, which is a generally useful rule. Bruno
2003-03-13 Paul Eggert <eggert <at> twinsun.com>
* onceonly.m4 (m4_quote): New macro.
(AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
Quote AC_FOREACH variable-expansions properly.
--- m4/onceonly.m4 31 Dec 2002 13:42:07 -0000 1.1
+++ m4/onceonly.m4 13 Mar 2003 21:23:43 -0000 1.2
<at> <at> -1,5 +1,5 <at> <at>
-# onceonly.m4 serial 1
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# onceonly.m4 serial 2
RSS Feed