﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
431	The list_imft_requests command displays garbage if no default destination is known	Eric Swenson	Eric Swenson	"If you invoke the ""lir"" command with no parameters, you'll get output like this:

{{{
lir
list_imft_requests: Unknown destination.  ""\000\000\000\000\000\000\000\004\000\000\000\000\000\000]\000\000\000\000\000\000\000\00
\c0""

GHM-Test 15:05 0.076 0 Swenson
}}}

With a valid destination specified output is reasonable:

{{{
lir -ds GHM
There are no requests in any To_GHM queue.

GHM-Test 15:06 0.146 0 Swenson
}}}

Both messages (Unknown destination and garbage) come from the same error label in list_imft_requests.pl1. It prints two variables, foreign_system and remote, that are set only when you give -ds or -sc.

Robert Coren's March 1983 change gave lir a default request type, but didn't set them. So with no arguments the message prints uninitialized stack storage. enter_imft_request and the cancel/move commands do set both from the default; lir was the one that missed it.

"	defect	closed	minor	MR12.9	Standard Library	MR12.5	fixed		
