[BACK]Return to readline.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot

Diff for /OpenXM_contrib/gnuplot/Attic/readline.c between version 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2000/01/22 14:16:00 version 1.1.1.3, 2003/09/15 07:09:26
Line 364  char *prompt;
Line 364  char *prompt;
         free(cur_line);          free(cur_line);
         line_len = 0;          line_len = 0;
     }      }
     cur_line = gp_alloc((unsigned long) MAXBUF, "readline");      cur_line = gp_alloc(MAXBUF, "readline");
     line_len = MAXBUF;      line_len = MAXBUF;
   
     /* set the termio so we can do our own input processing */      /* set the termio so we can do our own input processing */
Line 731  char *line;
Line 731  char *line;
         entry = entry->prev;          entry = entry->prev;
     }                           /* end of not-storing duplicated entries */      }                           /* end of not-storing duplicated entries */
   
     entry = (struct hist *) gp_alloc((unsigned long) sizeof(struct hist), "history");      entry = (struct hist *) gp_alloc(sizeof(struct hist), "history");
     entry->line = gp_alloc((unsigned long) (strlen(line) + 1), "history");      entry->line = gp_alloc((strlen(line) + 1), "history");
     strcpy(entry->line, line);      strcpy(entry->line, line);
   
     entry->prev = history;      entry->prev = history;

Legend:
Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>