summaryrefslogtreecommitdiff
path: root/wcsmbs
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-07-25 21:41:45 +0000
committerUlrich Drepper <drepper@redhat.com>2005-07-25 21:41:45 +0000
commit02ca3541ce1b81a6778ca811cc251a30280d0120 (patch)
tree579e15f10e08b0f7bf7f154f98dfd524a7430aa5 /wcsmbs
parent09987e425cce292a7202de18a9ef1bb62529a77f (diff)
downloadglibc-02ca3541ce1b81a6778ca811cc251a30280d0120.tar.gz
* debug/mbstowcs_chk.c: New file.
* debug/wcstombs_chk.c: New file. * debug/Makefile (routines): Add mbstowcs_chk and wcstombs_chk. * debug/Versions: Add __mbstowcs_chk and __wcstombs_chk. * stdlib/bits/stdlib.h: Add definitions for mbstowcs and wcstombs. * wcsmbs/bits/wchar2.h (mbsrtowcs): Pretty printing. * string/test-memset.c (test_main): Use negative byte value in
Diffstat (limited to 'wcsmbs')
-rw-r--r--wcsmbs/bits/wchar2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsmbs/bits/wchar2.h b/wcsmbs/bits/wchar2.h
index 5e6396f048..ec61aac29a 100644
--- a/wcsmbs/bits/wchar2.h
+++ b/wcsmbs/bits/wchar2.h
@@ -320,7 +320,7 @@ extern size_t __REDIRECT_NTH (__mbsrtowcs_alias,
extern __always_inline size_t
mbsrtowcs (wchar_t *__restrict __dst, __const char **__restrict __src,
- size_t __len, mbstate_t *__restrict __ps)
+ size_t __len, mbstate_t *__restrict __ps)
{
if (__bos (__dst) != (size_t) -1
&& (!__builtin_constant_p (__len)