MB_CUR_MAX.
(build_wcs_upper_buffer): Likewise.
2005-07-05 Ulrich Drepper <drepper@redhat.com>
+ * posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not
+ MB_CUR_MAX.
+ (build_wcs_upper_buffer): Likewise.
+
* csu/elf-init.c (__libc_csu_fini): Pretty printing.
2005-07-02 Roland McGrath <roland@redhat.com>
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
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