Path: utzoo!attcan!uunet!mcvax!kth!enea!maxim!prc From: prc@maxim.ERBE.SE (Robert Claeson) Newsgroups: comp.lang.c Subject: Re: 509?? (Re: Max line length) Message-ID: <625@maxim.ERBE.SE> Date: 15 Mar 89 17:07:51 GMT References: <2102@jasper.UUCP> <207600017@s.cs.uiuc.edu> <2285@buengc.BU.EDU> Organization: ERBE DATA AB Lines: 16 In article <2285@buengc.BU.EDU>, bph@buengc.BU.EDU (Blair P. Houghton) writes: > John Carr and Doug Gwyn both quoted the pANS as requiring compilers to > accept at least 509 chars of logical line... > > Huh??? On some weird os'es, the longest line that can be read from a text file is that of a disk block minus one character. Then subtract two characters for the line delimiter (CR-LF on most os'es). This will give you 509 characters. -- Robert Claeson, ERBE DATA AB, P.O. Box 77, S-175 22 Jarfalla, Sweden Tel: +46 (0)758-202 50 Fax: +46 (0)758-197 20 EUnet: rclaeson@ERBE.SE uucp: {uunet,enea}!erbe.se!rclaeson ARPAnet: rclaeson%ERBE.SE@uunet.UU.NET BITNET: rclaeson@ERBE.SE