﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
140	operator command detach produces incorrectly formatted error messages	charles.unix.pro@…	Eric Swenson	"The command ""detach tape8"" was inadvertently enter on the console, producing the error message:

{{{
M-> detach disk8

\000\234\400#\320\000\000\000\000\000\005\017\000\000\000\000\000\000\000\000\00\651\000\000\000\000\000\000\000\004\000\000\000\001\000\000\000\006\000\000\000\000: error: Usage: \000\234\400#\320\000\000\000\000\000\005\017\000\000\000\00\651\000\000\000\000\000\000\000\004\000\000\000\001\000\000\000\006\000\000\000\000 (Person.Project|CHANNEL|mpx MPX) {TIME MESSAGE}
The ""Person Project"" format is obsolete.
Ready
}}}
 

ldd>tools>s>bound_as_misc_.s.archive::operator_process_cmds_.pl1

{{{
detach: entry options (variable);

/**** This entry implements the operator ""detach"" command.  It forceably
      logs out a user and makes the tty unresponsive */

          arg_list_ptr = cu_$arg_list_ptr ();
          call process_bump_args (arg_list_ptr, """"b);

          action = ""detach"";
          action_log = ""detached"";
          comname = ""operator_process_cmds_: detach"";

          call process_bump_args (arg_list_ptr, """"b);
}}}

seems incorrect; process_bump_args should not be called twice as far as I can tell. The random string is produced on the first call, before comname has been initialized.

I believe the first call should be deleted. Examination of the other entry points (terminate, bump, unbump and disconnect) show that pattern.


"	defect	closed	minor	MR12.9	Tools	MR12.8	fixed		
