[BACK]Return to readline.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libedit

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libedit/readline.c between version 1.82 and 1.83

version 1.82, 2009/03/31 17:53:03 version 1.83, 2009/04/08 21:31:31
Line 1864  rl_completion_matches(const char *str, r
Line 1864  rl_completion_matches(const char *str, r
                 return NULL;                  return NULL;
   
         while ((match = (*fun)(str, (int)(len - 1))) != NULL) {          while ((match = (*fun)(str, (int)(len - 1))) != NULL) {
                   list[len++] = match;
                 if (len == max) {                  if (len == max) {
                         char **nl;                          char **nl;
                         max += 10;                          max += 10;
Line 1871  rl_completion_matches(const char *str, r
Line 1872  rl_completion_matches(const char *str, r
                                 goto out;                                  goto out;
                         list = nl;                          list = nl;
                 }                  }
                 list[len++] = match;  
         }          }
         if (len == 1)          if (len == 1)
                 goto out;                  goto out;

Legend:
Removed from v.1.82  
changed lines
  Added in v.1.83

CVSweb <webmaster@jp.NetBSD.org>