Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site hou3c.UUCP Path: utzoo!linus!decvax!harpo!eagle!mhuxl!houxm!hocda!hou3c!ka From: ka@hou3c.UUCP Newsgroups: net.bugs.uucp,net.lang.c Subject: Re: bug-fixes in uucp Message-ID: <110@hou3c.UUCP> Date: Mon, 14-Nov-83 12:03:23 EST Article-I.D.: hou3c.110 Posted: Mon Nov 14 12:03:23 1983 Date-Received: Tue, 15-Nov-83 08:34:28 EST References: <134@ttds.UUCP> <2708@utcsrgv.UUCP> Organization: Bell Labs, Holmdel, NJ Lines: 14 It used to be that the value returned by the '=' operator in C was the right hand side. Unfortunately, the C Reference Manual claimed that the value was the *left* hand side. (I recall that the C Tutorial documented the '=' operator correctly.) Eventually this discrepancy was discovered, and was resolved in favor of making the value be the value of the left hand side. This meant that all the loops looking like char c ; while ((c = getchar()) != EOF) ... ; had to be changed, but until very recently the UNIX developers at BTL have been more concerned with doing things right than with maintaining compatability. Kenneth Almquist