Jim Meyering
b1b4af8047
Sync with gnulib.
2003-08-18 09:44:49 +00:00
Jim Meyering
ba986c2928
Update from gnulib.
2002-11-23 14:59:39 +00:00
Jim Meyering
752fb79cac
Don't include <limits.h>.
...
Include <stdlib.h> and <string.h> unconditionally.
(iswcntrl, mbsinit, ISCNTRL): New macros.
(mbsnwidth): Use K&R style function declarations.
Don't bother checking for MB_LEN_MAX == 1, since the compiler
can optimize it when MB_CUR_MAX == 1.
The width of control characters is zero, not 1.
2001-08-04 17:07:37 +00:00
Jim Meyering
1f7a13e62e
(mbrtowc, mbsinit):
...
Remove workaround macros for hosts that have mbrtowc but not
mbstate_t, as we now insist on proper declarations for both
before using mbrtowc.
2001-02-17 10:39:17 +00:00
Jim Meyering
a05267197a
(mbsnwidth): Don't loop endlessly when called with an
...
invalid mulitbyte sequence and with the MBSW_ACCEPT_INVALID flag set.
2000-12-08 18:31:38 +00:00
Jim Meyering
5f9e998bca
Rename ISASCII to IN_CTYPE_DOMAIN.
2000-09-09 15:56:26 +00:00
Jim Meyering
18051fbbb3
(mbswidth): Add a flags argument.
...
(mbsnwidth): New function.
2000-07-24 16:29:57 +00:00
Jim Meyering
66a0218c1a
(_XOPEN_SOURCE): Don't define; this causes problems on Solaris 7.
...
(wcwidth) [!HAVE_DECL_WCWIDTH]: Declare.
2000-07-24 06:41:58 +00:00
Jim Meyering
c00612504b
from Bruno Haible.
2000-07-17 20:42:46 +00:00