bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mbsinit


From: Golubev I. N.
Subject: mbsinit
Date: Mon, 05 Nov 2001 16:06:50 (GMT)

version: 21.1
config: i586-pc-sco3.2v5.0.2

`mbsinit' is missing when linking `temacs'.

Some buggy libc's have `mbrlen', but not `mbsinit' (violate Amendment
1 of ISO C90?).  It appears that this is because `mbstate_t' value is
never used by `mbrlen' (`mbstate_t' is `char', just to shut compiler),
so the fix is to pretend that `mbsinit' always returns true.

gettext-0.10.40 already implements such a fix, you need just to port
code from `mbswidth.c', `mbswidth.m4', `configure.in' to `strftime.c' .



reply via email to

[Prev in Thread] Current Thread [Next in Thread]