The 'mbrtowc' module emulation, based on the system's mbtowc(), is more
interesting:
- sizeof(mbstate_t) has to be >= 4 for UTF-8, but on IRIX 6.5 mbstate_t is
defined to 'char'. (Thanks to Paul for idea to verify this assumption :-)).
So we have to override this type.
- mbtowc() does
The next module for ISO C 99 multibyte functions: wctob.
2008-12-18 Bruno Haible
New module 'wctob'.
* lib/wchar.in.h (wctob): New declaration.
* lib/wctob.c: New file.
* m4/wctob.m4: New file.
* modules/wctob: New file.
* m4/wchar.m4 (gl_WCHAR_H
This fixes a nit in the two new modules: They need to activate the
replacement. Noticed on IRIX 6.5.
2008-12-18 Bruno Haible
* m4/mbsinit.m4 (gl_FUNC_MBSINIT): Invoke gl_REPLACE_WCHAR_H.
* m4/btowc.m4 (gl_FUNC_BTOWC): Likewise.
--- m4/mbsinit.m4.orig 2008-12-19 02:55:18.
"Tom G. Christensen" writes:
>> Tom, please test tomorrow's snapshot. Was this the only problem on
>> solaris?
>>
> Summary says:
> 42 of 438 tests failed
> (17 tests were not run)
>
> Many of the errors are in uniconv but they may be caused by a faulty
> setup on my part. I will investigate to
On Thu, Dec 18, 2008 at 07:31:04PM +0100, Simon Josefsson wrote:
> Eric Blake writes:
>
> > Simon Josefsson josefsson.org> writes:
> >
> >> > flock.c:186: warning: implicit declaration of function 'memset'
> >> > flock.c:186: warning: incompatible implicit declaration of built-in
> > function '
Eric Blake writes:
> Simon Josefsson josefsson.org> writes:
>
>> > flock.c:186: warning: implicit declaration of function 'memset'
>> > flock.c:186: warning: incompatible implicit declaration of built-in
> function 'memset'
>>
>> This one also seems simple. Patch below. Will push unless ther
Simon Josefsson josefsson.org> writes:
> > flock.c:186: warning: implicit declaration of function 'memset'
> > flock.c:186: warning: incompatible implicit declaration of built-in
function 'memset'
>
> This one also seems simple. Patch below. Will push unless there are
> objections.
Push both
"Tom G. Christensen" writes:
> depbase=`echo flock.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\"
> -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. -I../intl -D_REENTRANT -g -O2 -MT
> flock.o -MD -MP -MF $depbase.Tpo -c -o flock.o flock.c &&\
"Tom G. Christensen" writes:
> Hello,
>
> Using Simons daily-build script I got this failure:
> depbase=`echo flock.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\"
> -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. -I../intl -D_REENTRANT -g -O2 -
"Tom G. Christensen" writes:
>> flock.c:215:2: error: #error "This platform lacks flock function, and Gnulib
>> doesn't provide a replacement. This is a bug in Gnulib."
...
> Is there no interest in fixing these issues?
> The flock module also fails to build on Solaris 8 due to this bug.
FWIW,
On Tue, Dec 09, 2008 at 10:27:39PM +0100, Tom G. Christensen wrote:
> Hello,
>
> Using Simons daily-build script I got this failure:
> depbase=`echo flock.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\"
> -DNO_XMALLOC -DEXEEXT=\"\" -I.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Bruno Haible on 12/18/2008 3:44 AM:
>> m4_version_prereq([2.60],, [
>>
>> It works at least back to Autoconf 2.59.
>
> Thanks for the hint. But m4_version_prereq is undocumented (as already
> mentioned
> in [1]).
Not for long. I'm co
For the mbrtowc unit tests, I need the determination of an EUC-JP locale.
I'm moving this file from gettext to gnulib.
2008-12-18 Bruno Haible
* m4/locale-ja.m4: New file, from GNU gettext.
=== m4/locale-ja.m4 ===
# locale-ja.m4
Ralf Wildenhues wrote:
> FWIW, there is a short-hand for this:
> m4_version_prereq([2.60],, [
> AC_DEFUN([...
>
> ])
> ])
>
> It works at least back to Autoconf 2.59.
Thanks for the hint. But m4_version_prereq is undocumented (as already mentioned
in [1]).
Bruno
[1] http://lists.gnu.or
14 matches
Mail list logo