/[gcl]/gcl/o/gcl_readline.d
ViewVC logotype

Diff of /gcl/o/gcl_readline.d

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by camm, Tue Mar 9 02:16:33 2004 UTC revision 1.8 by camm, Tue Feb 15 21:15:22 2005 UTC
# Line 51  Foundation, 675 Mass Ave, Cambridge, MA Line 51  Foundation, 675 Mass Ave, Cambridge, MA
51  #include <history.h>  #include <history.h>
52  #endif  #endif
53    
54  static int readline_on = 0;             /* On (1) or off (0) */  int readline_on = 0;            /* On (1) or off (0) */
55  static int rl_ungetc_em_char = -1;  static int rl_ungetc_em_char = -1;
56  static unsigned char *rl_putc_em_line = NULL;  static unsigned char *rl_putc_em_line = NULL;
57    
# Line 283  int rl_getc_em(FILE *f) { Line 283  int rl_getc_em(FILE *f) {
283                  free(line);                  free(line);
284                  line = NULL;                  line = NULL;
285                  linepos = 0;                  linepos = 0;
286                    *rl_line_buffer=0;
287                  return '\n';                  return '\n';
288          }          }
289    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26