[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.109 and 1.110

version 1.109, 2013/08/28 08:05:21 version 1.110, 2014/01/21 13:51:44
Line 1482  clear_history(void)
Line 1482  clear_history(void)
 {  {
         HistEvent ev;          HistEvent ev;
   
           if (h == NULL || e == NULL)
                   rl_initialize();
   
         (void)history(h, &ev, H_CLEAR);          (void)history(h, &ev, H_CLEAR);
         history_length = 0;          history_length = 0;
 }  }

Legend:
Removed from v.1.109  
changed lines
  Added in v.1.110

CVSweb <webmaster@jp.NetBSD.org>