=================================================================== RCS file: /home/cvs/OpenXM_contrib/gnuplot/Attic/command.c,v retrieving revision 1.1.1.2 retrieving revision 1.1.1.3 diff -u -p -r1.1.1.2 -r1.1.1.3 --- OpenXM_contrib/gnuplot/Attic/command.c 2000/01/22 14:15:56 1.1.1.2 +++ OpenXM_contrib/gnuplot/Attic/command.c 2003/09/15 07:09:24 1.1.1.3 @@ -1,5 +1,5 @@ #ifndef lint -static char *RCSid = "$Id: command.c,v 1.1.1.2 2000/01/22 14:15:56 maekawa Exp $"; +static char *RCSid = "$Id: command.c,v 1.1.1.3 2003/09/15 07:09:24 ohara Exp $"; #endif /* GNUPLOT - command.c */ @@ -248,7 +248,7 @@ int do_line() (void) fputs("!\n", stderr); /* why do we need this ? */ return (0); } - num_tokens = scanner(input_line); + num_tokens = scanner(&input_line, &input_line_len); c_token = 0; while (c_token < num_tokens) { if (command()) @@ -728,7 +728,7 @@ void replotrequest() plot_token = 0; /* whole line to be saved as replot line */ screen_ok = FALSE; - num_tokens = scanner(input_line); + num_tokens = scanner(&input_line, &input_line_len); c_token = 1; /* skip the 'plot' part */ if (is_3d_plot) plot3drequest(); @@ -961,8 +961,8 @@ int toplevel; /* huge static variables (1k each). Instead we dynamically allocate them */ /* on the first call to this function... */ if (helpbuf == NULL) { - helpbuf = gp_alloc((unsigned long) MAX_LINE_LEN, "help buffer"); - prompt = gp_alloc((unsigned long) MAX_LINE_LEN, "help prompt"); + helpbuf = gp_alloc(MAX_LINE_LEN, "help buffer"); + prompt = gp_alloc(MAX_LINE_LEN, "help prompt"); helpbuf[0] = prompt[0] = 0; } if (toplevel) @@ -1006,7 +1006,7 @@ int toplevel; else (void) strcpy(prompt, "Help topic: "); read_line(prompt); - num_tokens = scanner(input_line); + num_tokens = scanner(&input_line, &input_line_len); c_token = 0; more_help = !(END_OF_COMMAND); if (more_help)