completer is not NULL before calling it.
+2009-12-21 Joel Brobecker <brobecker@adacore.com>
+
+ * completer.c (complete_line_internal): Make sure the command
+ completer is not NULL before calling it.
+
2009-12-20 Michael Snyder <msnyder@vmware.com>
* amd64-tdep.c (amd64_epilogue_frame_cache): Fix buf size.
p--)
;
}
- if (reason != handle_brkchars)
+ if (reason != handle_brkchars && c->completer != NULL)
list = (*c->completer) (c, p, word);
}
}
p--)
;
}
- if (reason != handle_brkchars)
+ if (reason != handle_brkchars && c->completer != NULL)
list = (*c->completer) (c, p, word);
}
}