aboutsummaryrefslogtreecommitdiff
path: root/stdlib/mbtowc.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-28 22:39:04 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-28 22:39:04 +0000
commitb113c12c350c29a0f7f06fba12f06d86e79de1f4 (patch)
treeb42569c0a1afb8ea9358239ceecb64834c6c038d /stdlib/mbtowc.c
parentaa847ee5a48c4dc582960b1ee575a82cab005a01 (diff)
downloadglibc-b113c12c350c29a0f7f06fba12f06d86e79de1f4.zip
glibc-b113c12c350c29a0f7f06fba12f06d86e79de1f4.tar.gz
glibc-b113c12c350c29a0f7f06fba12f06d86e79de1f4.tar.bz2
Update.
1999-07-28 Ulrich Drepper <drepper@cygnus.com> * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits to print. * misc/efgcvt_r.c: Likewise. * misc/qefgcvt.c: Likewise. * misc/qefgcvt_r.c: Likewise. * misc/tst-efgcvt.c: Remove one test which cannot reliably be run anymore.
Diffstat (limited to 'stdlib/mbtowc.c')
-rw-r--r--stdlib/mbtowc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/mbtowc.c b/stdlib/mbtowc.c
index aeac2ce..cba34d3 100644
--- a/stdlib/mbtowc.c
+++ b/stdlib/mbtowc.c
@@ -48,7 +48,7 @@ mbtowc (wchar_t *pwc, const char *s, size_t n)
/* This is an extension in the Unix standard which does not directly
violate ISO C. */
- memset (&__no_r_state, '\0', siyeof __no_r_state);
+ memset (&__no_r_state, '\0', sizeof __no_r_state);
result = __wcsmbs_gconv_fcts.towc->__stateful;
}