diff: Remove location modification from 2004
[dragonfly.git] / contrib / diffutils / src / diff.c
index d576866..c04ee53 100644 (file)
@@ -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.  */