libc/posix regex_internal.c

drepper@sources.redhat.com drepper@sources.redhat.com
Wed Nov 12 17:44:00 GMT 2003


CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	drepper@sourceware.org	2003-11-12 17:44:05

Modified files:
	posix          : regex_internal.c 

Log message:
	(re_string_construct_common): Add mb_cur_max and is_utf8 arguments.
	Initialize fields with them.
	(re_string_allocate, re_string_construct): Add mb_cur_max and
	is_utf8 arguments, pass them to re_string_construct_common.
	Use mb_cur_max instead of MB_CUR_MAX.
	(re_string_realloc_buffers): Use pstr->mb_cur_max instead of MB_CUR_MAX.
	(re_string_reconstruct): Likewise.
	(re_string_context_at): Use input->mb_cur_max instead of MB_CUR_MAX.
	(create_ci_newstate, create_cd_newstate): Use dfa->mb_cur_max
	instead of MB_CUR_MAX.



More information about the Glibc-cvs mailing list