+Fri Mar 25 08:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * main.c (complete_command): Deal with it if arg is NULL.
+
Thu Mar 24 07:12:09 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Revise comment
dont_repeat ();
- strcpy (rl_line_buffer, arg);
- rl_point = strlen (arg);
+ if (arg == NULL)
+ {
+ rl_line_buffer[0] = '\0';
+ rl_point = 0;
+ }
+ else
+ {
+ strcpy (rl_line_buffer, arg);
+ rl_point = strlen (arg);
+ }
for (completion = symbol_completion_function (rl_line_buffer, i = 0);
completion;