From: utzoo!decvax!ittvax!swatt
Newsgroups: net.bugs.v7,net.bugs.4bsd
Title: bug in /usr/src/cmd/cpp/cpy.y
Article-I.D.: ittvax.424
Posted: Thu Aug 19 09:43:12 1982
Received: Fri Aug 20 03:13:09 1982


Please escuse me if this is the second time you've seen this, but our
decvax link was causing problems and I could never find out if this
got through.

	- Alan

>>From: ittvax!swatt (Alan S. Watt)
>>Newsgroups: net.bugs.4bsd,net.bugs.v7
>>Title: Bug in /usr/src/cmd/cpp/cpy.y 
>>Article-I.D.: ittvax.416
>>Posted: Sun Aug 15 14:30:07 1982
>>Received: Sun Aug 15 14:30:07 1982


Sun Aug 15 14:12:09 EDT 1982:   Bug in /usr/src/cmd/cpp/cpy.y

I just got bitten by a bug in the C pre-processor.  It took me
quite a while to realize I was dealing with a cpp bug, and not
one of my own.  The symptom is that negative numbers in "#if"
statements are treated as 0.  Try the following:

	/lib/cpp </tmp/upd.$$.sum
	if cmp - /tmp/upd.$$.sum <