summaryrefslogtreecommitdiff
path: root/ports/pkg/DESCR
diff options
context:
space:
mode:
authorpaul <paul>2005-03-14 17:35:52 +0000
committerpaul <paul>2005-03-14 17:35:52 +0000
commitb89614766b083c83f6a84126a02c88311129e12d (patch)
tree51b3f37416bc394f70bb9b8b9e41690bbe1ac72e /ports/pkg/DESCR
parent9dbc797274ca5df614d61784658b8f809bbd8e2b (diff)
2005-03-14 Paul Jakma <paul.jakma@sun.com>
* command.c: (sort_node) use vector_max instead of referencing (struct vector *)->max directly. Test that vector_max is > 0 before using it to calculate an index. Fixup vector loop to make main body conditional on vector slot not being empty. (cmd_cmdsize) Fixup vector loop to make main body conditional on vector slot not being empty. (cmd_filter_by_completion) ditto (cmd_filter_by_string) ditto (is_cmd_ambiguous) ditto (cmd_describe_command_real) Change index integers to unsigned. Test that vector_max is > 0 before using it to calculate an index. Return immediately with CMD_ERR_NO_MATCH if vline has no active slots. Fixup vector loop to make main body conditional on vector slot not being empty. (cmd_complete_command_real) ditto. (cmd_execute_command_strict) Fixup vector loop to be conditional on non-null slot.
Diffstat (limited to 'ports/pkg/DESCR')
0 files changed, 0 insertions, 0 deletions