Changeset 12

Show
Ignore:
Timestamp:
07/08/04 05:31:30 (4 years ago)
Author:
morris
Message:

fix rl_completion_matches test

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wire/trunk/configure

    r2 r12  
    48294829                        #include <stdio.h> 
    48304830                        #include <readline/readline.h> 
     4831                        char * generator(const char *text, int state) { 
     4832                                return NULL; 
     4833                        } 
    48314834                        int main(void) { 
    4832                                 char **matches = rl_completion_matches(NULL, NULL); 
     4835                                char **matches = rl_completion_matches("", generator); 
    48334836 
    48344837                                return 0; 
  • wire/trunk/configure.in

    r2 r12  
    149149                        #include <stdio.h> 
    150150                        #include <readline/readline.h> 
     151                        char * generator(const char *text, int state) { 
     152                                return NULL; 
     153                        } 
    151154                        int main(void) { 
    152                                 char **matches = rl_completion_matches(NULL, NULL); 
     155                                char **matches = rl_completion_matches("", generator); 
    153156                                 
    154157                                return 0;