[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.88 and 1.89

version 1.88, 2010/01/03 18:27:10 version 1.89, 2010/04/15 00:57:33
Line 1364  int
Line 1364  int
 add_history(const char *line)  add_history(const char *line)
 {  {
         TYPE(HistEvent) ev;          TYPE(HistEvent) ev;
           const Char *wline;
   
         if (h == NULL || e == NULL)          if (h == NULL || e == NULL)
                 rl_initialize();                  rl_initialize();
   
         (void)FUNW(history)(h, &ev, H_ENTER, line);          wline = ct_decode_string(line, &conv);
   
           (void)FUNW(history)(h, &ev, H_ENTER, wline);
         if (FUNW(history)(h, &ev, H_GETSIZE) == 0)          if (FUNW(history)(h, &ev, H_GETSIZE) == 0)
                 history_length = ev.num;                  history_length = ev.num;
   

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89

CVSweb <webmaster@jp.NetBSD.org>