From b113c12c350c29a0f7f06fba12f06d86e79de1f4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 28 Jul 1999 22:39:04 +0000 Subject: Update. 1999-07-28 Ulrich Drepper * 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. --- stdlib/mbtowc.c | 2 +- stdlib/wctomb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib') 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; } diff --git a/stdlib/wctomb.c b/stdlib/wctomb.c index 757e6ad..174bbf4 100644 --- a/stdlib/wctomb.c +++ b/stdlib/wctomb.c @@ -44,7 +44,7 @@ wctomb (char *s, wchar_t wchar) /* 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); return __wcsmbs_gconv_fcts.tomb->__stateful; } -- cgit v1.1