Navigation Menu

Skip to content

Commit

Permalink
diff: Remove location modification from 2004
Browse files Browse the repository at this point in the history
diffutils has been carrying this modification since version 2.8.1.  That
version was changed to support libgnuregex which has since been removed.

It appears that likely libgnuregex didn't support the
RE_NO_POSIX_BACKTRACKING option, and thus required the modification.
  • Loading branch information
jrmarino committed Oct 29, 2011
1 parent d124886 commit 683199b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/diffutils/src/diff.c
Expand Up @@ -282,7 +282,7 @@ main (int argc, char **argv)
c_stack_action (0);
function_regexp_list.buf = &function_regexp;
ignore_regexp_list.buf = &ignore_regexp;
re_set_syntax (RE_SYNTAX_GREP);
re_set_syntax (RE_SYNTAX_GREP | RE_NO_POSIX_BACKTRACKING);
excluded = new_exclude ();

/* Decode the options. */
Expand Down

0 comments on commit 683199b

Please sign in to comment.