Merge from vendor branch LIBARCHIVE:
[dragonfly.git] / gnu / usr.bin / diff / diff.c.patch
1 $DragonFly: src/gnu/usr.bin/diff/diff.c.patch,v 1.1 2004/04/13 14:55:02 eirikn Exp $
2 --- ../diff.orig/src/diff.c     2004-02-26 11:40:51.000000000 +0000
3 +++ diff.c      2004-02-17 17:00:54.000000000 +0000
4 @@ -33,7 +33,7 @@
5  #include <hard-locale.h>
6  #include <prepargs.h>
7  #include <quotesys.h>
8 -#include <regex.h>
9 +#include <gnuregex.h>
10  #include <setmode.h>
11  #include <xalloc.h>
12  
13 @@ -265,12 +265,11 @@
14    initialize_main (&argc, &argv);
15    program_name = argv[0];
16    setlocale (LC_ALL, "");
17 -  bindtextdomain (PACKAGE, LOCALEDIR);
18    textdomain (PACKAGE);
19    c_stack_action (c_stack_die);
20    function_regexp_list.buf = &function_regexp;
21    ignore_regexp_list.buf = &ignore_regexp;
22 -  re_set_syntax (RE_SYNTAX_GREP | RE_NO_POSIX_BACKTRACKING);
23 +  re_set_syntax (RE_SYNTAX_GREP);
24    excluded = new_exclude ();
25  
26    /* Decode the options.  */