Re: texinfo 4.13 problem exposed by gnulib

2008-12-21 Thread Bruno Haible
Alan Hourihane wrote: > Attached is an updated patch to gnulib because of a linking problem > related to mbrinit and mbrtowc that was exposed when building texinfo > 4.13. The issue is solved differently: by providing mbrtowc and mbsinit on all platforms. Bruno

Re: Alan Hourihane: [bug #24687] implicit usage of mbsinit & mbrtowc

2008-12-21 Thread Bruno Haible
Hello Sergey, Alan, On 2008-10-30 I wrote: > I'll therefore extend the modules in a way that they work also on older > systems without HAVE_MBRTOWC. This is done. When you do a "gnulib-tool --update" from texinfo, you should get all macros and source code needed for running the mbiter etc. facili

mbiter, mbuiter, mbfile: make usable on all platforms

2008-12-21 Thread Bruno Haible
Hi, It was reported by Sergey Poznyakoff that it is desirable that mbiter and mbuiter can be used on all platforms, without a fallback code for platforms like HP-UX 11.00, IRIX 6.5, Solaris 2.6, mingw. [1] http://lists.gnu.org/archive/html/bug-gnulib/2008-10/msg00554.html 2008-12-21 Bruno Haib

Re: POSIX 2008 available

2008-12-21 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 12/21/2008 5:51 PM: > > - element="Support for systems lacking POSIX:2001" > + element="Support for systems lacking POSIX:200" typo? - -- Don't work too hard, make some time for fun as well! Eric Blake e.

update module list

2008-12-21 Thread Bruno Haible
An update of the module list, to care about the many recent new modules. 2008-12-21 Bruno Haible * MODULES.html.sh (Extended multibyte and wide character utilities ): Add btowc, wctob, mbsinit, mbrlen, mbrtowc, mbsrtowcs, wcrtomb, wcsrtombs. (Support for systems

Re: POSIX 2008 available

2008-12-21 Thread Bruno Haible
Part 5 of the doc change: Change the subtitles in the generated modules list. 2008-12-21 Bruno Haible * MODULES.html.sh: Change section titles to refer to POSIX:2008. --- MODULES.html.sh.orig2008-12-22 01:49:53.0 +0100 +++ MODULES.html.sh 2008-12-22 01:49:40.00

new module 'wcsnrtombs'

2008-12-21 Thread Bruno Haible
The last function in this series is 'wcsnrtombs'. 2008-12-21 Bruno Haible New module 'wcsnrtombs'. * lib/wchar.in.h (wcsnrtombs): New declaration. * lib/wcsnrtombs.c: New file. * lib/wcsrtombs-state.c: New file. * lib/wcsrtombs.c: Refer to _gl_wcsrtombs

new module 'wcsrtombs'

2008-12-21 Thread Bruno Haible
Despite more platform bugs, here's the module for a POSIX compliant wcsrtombs() function. 2008-12-21 Bruno Haible New module 'wcsrtombs'. * lib/wchar.in.h (wcsrtombs): New declaration. * lib/wcsrtombs.c: New file. * m4/wcsrtombs.m4: New file. * m4/wchar

Re: new module 'wcrtomb'

2008-12-21 Thread Bruno Haible
This function too is buggy on Solaris and Tru64: It may return 0 instead of a positive number or an error indicator. Workaround implemented as follows: 2008-12-21 Bruno Haible Work around a wcrtomb() bug on Solaris 10 and OSF/1 5.1. * lib/wchar.in.h (wcrtomb): Override if REP

Re: timespec declaration issue on Tru64

2008-12-21 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Sun, Dec 21, 2008 at 06:22:01PM CET: > Ralf Wildenhues wrote: > > > GNU Make got through that without a problem, but... should gmake be a > > > prerequisite for building coreutils? > > ... > > I guess the easiest would be to require gmake on Tru64/OSF > > It is

parse-duration.c

2008-12-21 Thread Bruce Korb
So, I've now had another gander now, too. A small doc tweak and coding aesthetics issue: $ diff -up gnulib/ChangeLog gnulib-clone/ChangeLog --- gnulib/ChangeLog2008-12-21 08:47:26.0 -0800 +++ gnulib-clone/ChangeLog 2008-12-21 11:50:18.0 -0800 @@ -1,3 +1,8 @@ +2008-11-17 B

Re: timespec declaration issue on Tru64

2008-12-21 Thread Bruno Haible
Ralf Wildenhues wrote: > > GNU Make got through that without a problem, but... should gmake be a > > prerequisite for building coreutils? > > Oh well. OSF make chokes upon instances of '[' in the Makefile; it > seems to use it as some internal separator for locks or so. > ... > I guess the easie

Re: timespec declaration issue on Tru64

2008-12-21 Thread Ralf Wildenhues
Hello, and sorry for the delay, * Daniel Richard G. wrote on Mon, Dec 15, 2008 at 02:49:19AM CET: > > Anyway, I was playing around with this a bit more. The compiler is choking > somewhere inside the #include at the top of sig2str.c. This was already fixed, thanks! [...] > Everything else buil

Re: new module 'btowc'

2008-12-21 Thread Bruno Haible
> New module 'btowc'. Some systems succeed in implementing even this simple function incorrectly. Here is a workaround: 2008-12-21 Bruno Haible Work around a btowc() bug on IRIX 6.5. * lib/wchar.in.h (btowc): Override if REPLACE_BTOWC is set. * m4/btowc.m4 (gl_F

new module 'wcrtomb'

2008-12-21 Thread Bruno Haible
The next function is wcrtomb(). 2008-12-21 Bruno Haible * lib/wchar.in.h (wcrtomb): New declaration. * lib/wcrtomb.c: New file. * m4/wcrtomb.m4: New file. * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCRTOMB, HAVE_WCRTOMB. * modules/wch

Re: new module 'wctob'

2008-12-21 Thread Bruno Haible
> * modules/wctob (Files): Add m4/locale-fr.m4. Oops. m4/locale-fr.m4 depends on m4/codeset.m4. Adding the dependencies: 2008-12-21 Bruno Haible * modules/mbrtowc (Files): Add m4/codeset.m4, needed by m4/locale-fr.m4. * modules/mbsrtowcs (Files): Likewise. * mod

Re: [PATCH] gitlog-to-changelog pass args to git-log

2008-12-21 Thread Jim Meyering
William Pursell wrote: ... > -Convert git log output to ChangeLog format. > +Convert git log output to ChangeLog format. If present, any ARGS > +are passed to git-log. To avoid ARGS being parsed as options to Thanks. I've pushed that, with only the tiny change: s/git-log/"git log"/ and an updat

Re: mbstate_t on HP-UX 11.11

2008-12-21 Thread Bruno Haible
Eric Blake wrote: > this would be > better written as a compile-time test that sees whether mbstate_t is > visible first without, then with -D_XOPEN_SOURCE=500 added to CFLAGS, in > case HP (or gcc fixincludes) fixes the problem, or in case someone else > has a similar issue. This has the potentia

new module 'mbsnrtowcs'

2008-12-21 Thread Bruno Haible
After mbsrtowcs comes mbsnrtowcs. I'm committing a module that provides this function. 2008-12-21 Bruno Haible New module 'mbsnrtowcs'. * lib/wchar.in.h (mbsnrtowcs): New declaration. * lib/mbsnrtowcs.c: New file. * lib/mbsrtowcs-state.c: New file. * li

Re: mbstate_t on HP-UX 11.11

2008-12-21 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 12/20/2008 12:12 PM: > 2008-12-20 Bruno Haible > > Ensure mbstate_t is defined on HP-UX 11.11 when AC_USE_SYSTEM_EXTENSIONS > is used. > * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Require >

Re: new module 'mbsrtowcs'

2008-12-21 Thread Bruno Haible
> New module 'mbsrtowcs'. The libc function mbsrtowcs does not work on Solaris and HP-UX. This patch works around it by using the gnulib replacement. 2008-12-21 Bruno Haible Work around mbsrtowcs bug. * m4/mbsrtowcs.m4 (gl_MBSRTOWCS_WORKS): New macro. (gl_FUNC_MB

doc update for AIX

2008-12-21 Thread Bruno Haible
AIX has the same problem regarding wchar_t. Document it. 2008-12-21 Bruno Haible Update doc for AIX. * doc/pastposix-functions/wcswcs.texi: Mention that AIX has only a 16-bit wchar_t type. * doc/posix-functions/btowc.texi: Likewise. * doc/posix-functions

Re: [PATCH] gitlog-to-changelog pass args to git-log

2008-12-21 Thread William Pursell
>From 756fa7c0a87eca7ecfebdb1c46b25bd776b4ec01 Mon Sep 17 00:00:00 2001 From: William Pursell Date: Sun, 21 Dec 2008 11:24:13 + Subject: [PATCH] Pass options to git-log via gitlog-to-changelog When producing a ChangeLog, it is sometimes convenient to filter the commits in various ways. gitl

doc update for HP-UX

2008-12-21 Thread Bruno Haible
HP-UX 11.11 has added the ANSI C Amendment 1 functions that were missing in HP-UX 11.00. This patch updates the doc. 2008-12-21 Bruno Haible Update for HP-UX 11.11. * doc/posix-functions/btowc.texi: Clarify that the function is missing in HP-UX version 11.00, not in all

Re: new module 'mbsrtowcs'

2008-12-21 Thread Bruno Haible
> New module 'mbsrtowcs'. There is a portability problem, due to incomplete specification of the function in ISO C 99. This patch documents it. 2008-12-21 Bruno Haible Work around a portability problem. * tests/test-mbsrtowcs.c (main): Use a temporary conversion state.