Juergen

I noticed in 956, that there is a defect in Command.cc. At line 170:

if (args_ucs[1] == '.' && args_ucs[2] == '.') many = true;

has two defects: First is that it may read off the end of the prototype
string.
Second is that it doesn't work as intended. I propose:

if ((a > 1) && (args_ucs[a - 1] == '.') && (args_ucs[a - 2] == '.'))
many = true;

That works (try the command )HOST ls -l for a quick test case).

Fred Weigel

  

Reply via email to