draft ANSI standard: needs your tomatoes

Mark Biggar markb at sdcrdcf.UUCP
Sat Dec 6 03:05:01 AEST 1986


In article <1155 at ucbcad.BERKELEY.EDU> faustus at ucbcad.BERKELEY.EDU (Wayne A. Christopher) writes:
>(4), and SOURCE_LINE_LENGTH (509) in particular seem to be very
>...
>excuse not to fix their compilers?  A compiler that won't accept a
>600-line input file is clearly sub-standard and almost useless, and I

SOURCE_LINE_LENGTH is the length of 1 line of input (i.e., the number of
chars between newlines) not the number of line in the input file.
I believe the 509 comes from taking 512 (2**9) and taking away the end of
line sequence which can, on some machines, be as much as 3 chars long (e.g.,
the DEC RSTS system that has 3 different line terminating sequences,
"\027" "^[", "\015\012" "\r\n" and "\012\015\000" "\n\r\0".)

Mark Biggar
{allegra,burdvax,cbosgd,hplabs,ihnp4,akgua,sdcsvax}!sdcrdcf!markb



More information about the Comp.lang.c mailing list