]> git.pld-linux.org Git - packages/ruby.git/blob - ruby-readline.patch
- reverting last change: removing new macros from %p{re,ost}{,un}
[packages/ruby.git] / ruby-readline.patch
1 --- ruby-1.6.3/ext/readline/readline.c.wiget    Fri Apr 13 18:25:59 2001
2 +++ ruby-1.6.3/ext/readline/readline.c  Fri Apr 13 18:27:40 2001
3 @@ -321,8 +321,8 @@
4      char **matches;
5      int i;
6  
7 -    matches = completion_matches(STR2CSTR(str),
8 -                                filename_completion_function);
9 +    matches = rl_completion_matches(STR2CSTR(str),
10 +                                rl_filename_completion_function);
11      if (matches) {
12         result = rb_ary_new();
13         for (i = 0; matches[i]; i++) {
14 @@ -348,8 +348,8 @@
15      char **matches;
16      int i;
17  
18 -    matches = completion_matches(STR2CSTR(str),
19 -                                username_completion_function);
20 +    matches = rl_completion_matches(STR2CSTR(str),
21 +                                rl_username_completion_function);
22      if (matches) {
23         result = rb_ary_new();
24         for (i = 0; matches[i]; i++) {
This page took 0.15081 seconds and 3 git commands to generate.