summaryrefslogtreecommitdiff
path: root/lib/mbswidth.c
AgeCommit message (Collapse)Author
2004-11-11Sync from gnulib.Paul Eggert
2004-03-23Sync from gnulib.Jim Meyering
* mbswidth.c: Include <stdio.h> and <time.h> before <wchar.h>.
2003-08-18Sync with gnulib.Jim Meyering
2002-11-23Update from gnulib.Jim Meyering
2001-08-04Don't include <limits.h>.Jim Meyering
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-02-17(mbrtowc, mbsinit):Jim Meyering
Remove workaround macros for hosts that have mbrtowc but not mbstate_t, as we now insist on proper declarations for both before using mbrtowc.
2000-12-08(mbsnwidth): Don't loop endlessly when called with anJim Meyering
invalid mulitbyte sequence and with the MBSW_ACCEPT_INVALID flag set.
2000-09-09Rename ISASCII to IN_CTYPE_DOMAIN.Jim Meyering
2000-07-24(mbswidth): Add a flags argument.Jim Meyering
(mbsnwidth): New function.
2000-07-24(_XOPEN_SOURCE): Don't define; this causes problems on Solaris 7.Jim Meyering
(wcwidth) [!HAVE_DECL_WCWIDTH]: Declare.
2000-07-17from Bruno Haible.Jim Meyering