Bug in finger.c

John F Haugh II jfh at greenber.austin.ibm.com
Sat May 25 04:50:31 AEST 1991


In .../src/ucb/finger.c, there is a code fragment down around line 1074
(version 5.8 dated 3/13/86) that reads

	if (isprint(c) || isspace(c))
		putchar(c);
	else
		putchar(c ^ 100);

Now what are they doing XOR'ing that poor character against 100 =decimal=?
-- 
John F. Haugh II      |      I've Been Moved     |    MaBellNet: (512) 838-4340
SneakerNet: 809/1D064 |          AGAIN !         |      VNET: LCCB386 at AUSVMQ
BangNet: ..!cs.utexas.edu!ibmchs!auschs!snowball.austin.ibm.com!jfh (e-i-e-i-o)



More information about the Comp.bugs.4bsd.ucb-fixes mailing list