(add_regex): Pass correct length to re_compile_pattern.
+2008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
+
+ * etags.c (add_regex): Pass correct length to re_compile_pattern.
+
2008-11-02 Chong Yidong <cyd@stupidchicken.com>
* emacsclient.c (window_system): Delete redundant variable.
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)