Date: Wed, 21 Jul 2004 10:54:57 +0000 (UTC) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include wchar.h src/lib/libc/locale Makefile.inc mblocal.h mbsnrtowcs.c mbsrtowcs.3 mbsrtowcs.c mbstowcs.c none.c setrunelocale.c table.c wcsnrtombs.c wcsrtombs.3 wcsrtombs.c wcstombs.c src/lib/libc/stdio fputws.c Message-ID: <200407211054.i6LAsvlc043246@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr 2004-07-21 10:54:57 UTC FreeBSD src repository Modified files: include wchar.h lib/libc/locale Makefile.inc mblocal.h mbsrtowcs.3 mbsrtowcs.c mbstowcs.c none.c setrunelocale.c table.c wcsrtombs.3 wcsrtombs.c wcstombs.c lib/libc/stdio fputws.c Added files: lib/libc/locale mbsnrtowcs.c wcsnrtombs.c Log: Implement the GNU extensions of mbsnrtowcs() and wcsnrtombs(). These are convenient when the source string isn't null-terminated. Implement the other conversion functions (mbstowcs(), mbsrtowcs(), wcstombs(), wcsrtombs()) in terms of these new functions. Revision Changes Path 1.43 +4 -0 src/include/wchar.h 1.57 +6 -2 src/lib/libc/locale/Makefile.inc 1.3 +12 -12 src/lib/libc/locale/mblocal.h 1.1 +91 -0 src/lib/libc/locale/mbsnrtowcs.c (new) 1.5 +27 -4 src/lib/libc/locale/mbsrtowcs.3 1.6 +1 -42 src/lib/libc/locale/mbsrtowcs.c 1.11 +2 -1 src/lib/libc/locale/mbstowcs.c 1.12 +18 -15 src/lib/libc/locale/none.c 1.40 +13 -12 src/lib/libc/locale/setrunelocale.c 1.24 +4 -4 src/lib/libc/locale/table.c 1.1 +111 -0 src/lib/libc/locale/wcsnrtombs.c (new) 1.5 +27 -4 src/lib/libc/locale/wcsrtombs.3 1.6 +1 -67 src/lib/libc/locale/wcsrtombs.c 1.10 +2 -1 src/lib/libc/locale/wcstombs.c 1.6 +2 -1 src/lib/libc/stdio/fputws.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407211054.i6LAsvlc043246>