bug-fixes in uucp
    ka at hou3c.UUCP 
    ka at hou3c.UUCP
       
    Tue Nov 15 03:03:23 AEST 1983
    
    
  
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
    
    
More information about the Comp.lang.c
mailing list