marsh@umt.UUCP (Paul Marsh) (02/09/89)
While looking through Ultrix v1.2 sources for "man.c", I noticed the following code segment: if (ss = 0) work[last+1] = 0; I assume the author wanted to test for equality with the IF statement. Is that correct? -- UUCP : ... ! ucdavis ! umt ! marsh US Mail : Paul Marsh, University of Montana, Computer Center Missoula, MT 59812 phone : (406) 243-5455 -- -- UUCP : ... ! ucdavis ! umt ! marsh US Mail : Paul Marsh, University of Montana, Computer Center Missoula, MT 59812 phone : (406) 243-5455
vixie@decwrl.dec.com (Paul A Vixie) (02/12/89)
# While looking through Ultrix v1.2 sources for "man.c", I noticed the # following code segment: Looks like a bug. Two things, though: (1) Ultrix 1.2 was based on a very late 4.2bsd; Berkeley has released two systems since then -- 4.3 and 4.3-tahoe; you should grab the latest from Berkeley to see if this has been fixed. (2) The Ultrix source license probably specifies that "thou shalt not post code fragments to Usenet" or some such. Forget, if you can, that it's silly to worry about this since the code is 3+ years old; try to ignore the fact that DEC probably did not modify man.c; check with your legal person to see what's allowed. -- Paul Vixie Work: vixie@decwrl.dec.com decwrl!vixie +1 415 853 6600 Play: paul@vixie.sf.ca.us vixie!paul +1 415 864 7013