lmc@denelcor.UUCP (Lyle McElhaney) (02/09/84)
When using the FANCYARGS variable in getargs.c (it allows ^? escapes and
quoted strings in L.sys descriptions) uucico will hang when it tries to
send &/! receive a null length string (of the form ""). While expect and
sendthem check explicitly for "", the FANCYARGS removes the quotes and
the null string remaining is *not* checked. To fix change line 444 in
conn.c:
if (strcmp (str, "\"\"") == SAME) {
to
if (strlen (str) == 0 || strcmp (str, "\"\"") == SAME) {
and add just before line 509:
if (strlen (str) == 0) return;
These fixes should not hurt even if FANCYARGS is not used.
--
Lyle McElhaney
(hao,brl-bmd,nbires,csu-cs,scgvaxd)!denelcor!lmc