From: Glenn Morris Date: Sat, 22 Nov 2008 03:18:03 +0000 (+0000) Subject: Derek Peschel (tiny change) X-Git-Tag: emacs-pretest-23.0.90~1652 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3d864325130b0c37628b42d542923717164b50c7;p=emacs.git Derek Peschel (tiny change) (add_regex): Pass correct length to re_compile_pattern. --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 84ef0dae0c1..931aa2d435e 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2008-11-22 Derek Peschel (tiny change) + + * etags.c (add_regex): Pass correct length to re_compile_pattern. + 2008-11-02 Chong Yidong * emacsclient.c (window_system): Delete redundant variable. diff --git a/lib-src/etags.c b/lib-src/etags.c index 0c2c9b949d0..26b8a05fd76 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -5881,7 +5881,7 @@ add_regex (regexp_pattern, lang) else re_set_syntax (RE_SYNTAX_EMACS); - err = re_compile_pattern (pat, strlen (regexp_pattern), patbuf); + err = re_compile_pattern (pat, strlen (pat), patbuf); if (multi_line) free (pat); if (err != NULL)