summaryrefslogtreecommitdiff
path: root/lib/ChangeLog
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 /lib/ChangeLog
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 'lib/ChangeLog')
-rw-r--r--lib/ChangeLog22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index b14f1837..3d509403 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,25 @@
+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.
+
2005-03-09 Paul Jakma <paul.jakma@sun.com>
* command.c: Undo commit of sign warning fix and hidden command