[net.sources] Bug in uuls

ka@hou3c.UUCP (12/14/83)

In order for uuls to work on machines on which characters are unsigned,
line 72 should be changed to declare optchar as an int rather than as
a character.
					Kenneth Almquist

ajs@hpfcla.UUCP (12/24/83)

#R:hou3c:-13800:hpfcla:43600001:000:290
hpfcla!ajs    Dec 22 10:19:00 1983

Oops, you are right, "char optchar" should be "int optchar" in uuls.c so
it works on unsigned-char systems.  I fixed my master source.  Thanks!

Alan Silverstein, Hewlett-Packard Fort Collins Systems Division, Colorado
ucbvax!hplabs!hpfcla!ajs, 303-226-3800 x3053, N 40 31'31" W 105 00'43"

ajs@hpfcla.UUCP (12/31/83)

#R:hou3c:-13800:hpfcla:43600002:000:265
hpfcla!ajs    Dec 29 08:52:00 1983

Someone pointed out that uuls.c doesn't  understand  BSD4.2 file systems
(yet).  They are working on it; stay tuned...

Alan Silverstein, Hewlett-Packard Fort Collins Systems Division, Colorado
ucbvax!hplabs!hpfcla!ajs, 303-226-3800 x3053, N 40 31'31" W 105 00'43"

ajs@hpfcla.UUCP (01/22/84)

#R:hou3c:-13800:hpfcla:43600004:000:481
hpfcla!ajs    Jan 12 15:53:00 1984

Uuls has another small problem.  The readdir() routine defines needbytes
as a long, but  &needbytes is passed to fread(),  which  expects an int.
This might cause  trouble on machines  where int == short.  The solution
is to make  needbytes an int.  (I'll fix the master  source for the next
time I release it to the Net, if ever.)

Alan Silverstein, Hewlett-Packard Fort Collins Systems Division, Colorado
{ihnp4 | hplabs}!hpfcla!ajs, 303-226-3800 x3053, N 40 31'31" W 105 00'43"