Opened 6 years ago

Closed 5 years ago

#200 closed defect (wontfix)

validate_info should diagnose missing name: values in :Info: divider lines.

Reported by: Gary Dixon Owned by: Gary Dixon
Priority: major Milestone:
Component: Tools Version:
Keywords: validate_info_seg Cc:

Description

While validate_info_seg checks whether all names given in a command header line also appear on the command's info segment, it does not check whether all such names appear in the :Info: divider which precedes the header.

If one of the command names does not appear in the :Info: <name1>: <name2>: ...
data, then that part of the info segment cannot be access by help using the missing name.

For example, the following version of move_quota.info is missing the mq: name in its :Info: divider. validate_info_seg issues no error about this problem. But while help can find/display the info under the move_quota name, it fails when asked to display the mq name.

vis move_quota.info

>user_dir_dir>Multics>GDixon>work>vis_for_mbuild>tests>move_quota.info

-----------COMMAND info
LINE: 1     :Info: move_quota:  2020-01-22 move_quota, mq
LINE: 3     Syntax as a command
LINE: 6     Function
LINE: 10    Arguments
LINE: 22    Access required

-----------GENERAL info
LINE: 26    :Internal: history_comment.gi: 2020-01-22 history_comment
LINE: 29    /****^  HISTORY COMMENTS


r 19:21 0.107 2

ls move_quota.info

Segments = 1, Lengths = 1.

r w    1  move_quota.info
          mq.info

r 19:22 0.067 0

help -pn move_quota -bf

Syntax as a command:  mq path1 quota_change1 {... pathN quota_changeN}
r 19:22 0.088 6

help -pn mq -bf
help: Entry not found. For segment: >user_dir_dir>Multics>GDixon>work>vis_for_mbuild>tests>mq.info
Looking for an info matching mq.
help: Entry not found.
Looking for infos matching info_name.
r 19:22 0.418 6

Change History (1)

comment:1 by Gary Dixon, 5 years ago

Resolution: wontfix
Status: assignedclosed

This bug has been corrected in the replacement command for validate_info_seg: verify_info (vi). validate_info_seg is now obsolete, so bugs in this segment will not be repaired.

Note: See TracTickets for help on using tickets.