Opened 7 years ago

Closed 5 years ago

#159 closed defect (fixed)

Coding error in new_user.pl1

Reported by: canthony Owned by: Eric Swenson
Priority: minor Milestone: MR12.7
Component: Tools Version: MR12.6f
Keywords: new_user Cc:

Description

In >ldd>tools>s>bound_admin_rtnes_.s$new_user.pl1:

change: entry options (variable);

          alias_allowed = "0"b;
          loud = "1"b;

cg:  entry options (variable);

          alias_allowed, loud = "0"b;
          goto change_common;

cga: entry options (variable);

          loud = "0"b;
          alias_allowed = "1"b;

change_common:
          whoami = "new_user$change";

and >doc>privileged>new_user.info

:Entry:  change:  02/26/85  new_user$change


Function:  This entry point supports editing of user registration.


:Entry:  cg:  02/26/85  new_user$cg


Function:  This entry point is similar to new_user$change but is less
verbose.

The "change" entry point sets "loud" (verbose) and then falls through to "cg" which resets "loud" (less verbose). This does not match the documented behavior in the info segment.

A "goto change_common;" is missing from the "change" entry point. It should be:

change: entry options (variable);

          alias_allowed = "0"b;
          loud = "1"b;
          goto change_common;

cg:  entry options (variable);

          alias_allowed, loud = "0"b;
          goto change_common;

Change History (4)

comment:2 by Eric Swenson, 7 years ago

Keywords: new_user added
Milestone: MR12.6g
Status: newaccepted
Version: MR12.6f

comment:3 by Eric Swenson, 7 years ago

Milestone: MR12.6gMR12.7

Milestone renamed

comment:4 by Eric Swenson, 5 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.