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_WORK

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 con

Re: new module 'mbsrtowcs'

2008-12-20 Thread Bruno Haible
When gnulib redefines mbstate_t, it also needs to override the system's mbsrtowcs implementation. Needed in particular on AIX. 2008-12-20 Bruno Haible * lib/wchar.in.h (mbsrtowcs): Redefine if REPLACE_MBSRTOWCS is set. * m4/mbsrtowcs.m4 (gl_FUNC_MBSRTOWCS): Invoke gl_MBSTATE_T

new module 'mbsrtowcs'

2008-12-19 Thread Bruno Haible
Bruno Haible New module 'mbsrtowcs'. * lib/wchar.in.h (mbsrtowcs): New declaration. * lib/mbsrtowcs.c: New file. * m4/mbsrtowcs.m4: New file. * modules/mbsrtowcs: New file. * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULI