[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mbsinit() not defined
From: |
Stepan Kasal |
Subject: |
Re: mbsinit() not defined |
Date: |
Mon, 31 May 2004 22:02:41 +0200 |
User-agent: |
Mutt/1.4.1i |
Dear autoconf wizards,
Ilya N. Golubev has reported a bug:
> System: i586-pc-sco3.2v5.0.2
>
> Some buggy libc's have `mbrtowc', but not `mbsinit' (violate Amendment
> 1 of ISO C90?). It appears that this is because `mbstate_t' value is
> never used by `mbrtowc' (`mbstate_t' is `char', just to shut
> compiler).
As Ilya has pointed out, the same problem was on Mon, 18 Jun 2001 reported
for gettext:
http://lists.gnu.org/archive/html/bug-gnu-utils/2001-06/msg00184.html
Bruno has accepted the proposed solution: #define mbsinit(ps) 1
Couldn't this become part of autoconf? Perhaps the AC_FUNC_MBRTOWC macro
could make sure that mbsinit() is defined and provide the replacement
if it's needed.
Thank you in advance for clarification,
Stepan Kasal
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: mbsinit() not defined,
Stepan Kasal <=