diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-07-08 09:10:42 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-07-08 09:10:42 +0000 |
commit | 48f006fc656c70757103dc9efa92d5775717576b (patch) | |
tree | 49d57e1205b93471c3245fceab5dd5ac31ba743d /posix | |
parent | 03d65262fdcc287ef8b691c7dff2f1a63cdd13c2 (diff) | |
download | glibc-48f006fc656c70757103dc9efa92d5775717576b.tar.gz glibc-48f006fc656c70757103dc9efa92d5775717576b.tar.xz glibc-48f006fc656c70757103dc9efa92d5775717576b.zip |
Updated to fedora-glibc-20050708T0811
Diffstat (limited to 'posix')
-rw-r--r-- | posix/regex_internal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/posix/regex_internal.c b/posix/regex_internal.c index b3d44c368d..baa58443ac 100644 --- a/posix/regex_internal.c +++ b/posix/regex_internal.c @@ -214,8 +214,8 @@ build_wcs_buffer (pstr) re_string_t *pstr; { #ifdef _LIBC - unsigned char buf[MB_CUR_MAX]; - assert (MB_CUR_MAX >= pstr->mb_cur_max); + unsigned char buf[MB_LEN_MAX]; + assert (MB_LEN_MAX >= pstr->mb_cur_max); #else unsigned char buf[64]; #endif @@ -285,8 +285,8 @@ build_wcs_upper_buffer (pstr) int src_idx, byte_idx, end_idx, remain_len; size_t mbclen; #ifdef _LIBC - char buf[MB_CUR_MAX]; - assert (MB_CUR_MAX >= pstr->mb_cur_max); + char buf[MB_LEN_MAX]; + assert (MB_LEN_MAX >= pstr->mb_cur_max); #else char buf[64]; #endif |