Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site eneevax.UUCP Path: utzoo!linus!philabs!seismo!rlgvax!cvl!umcp-cs!eneevax!chris From: chris@eneevax.UUCP Newsgroups: net.bugs.4bsd Subject: f77 bug in 4.1 Message-ID: <30@eneevax.UUCP> Date: Wed, 2-Nov-83 22:45:29 EST Article-I.D.: eneevax.30 Posted: Wed Nov 2 22:45:29 1983 Date-Received: Sun, 6-Nov-83 19:47:10 EST Organization: Univ. of Maryland, EE Dept. Lines: 17 I had to go search this one out... someone ran into a problem with the f77 compiler on Hollerith data. Strings longer than 199 characters just don't work (except in formats). The reason is this wonderful little "char token[200];" in init.c. The limitation isn't too bad, it's just that if you overflow this you get things like Error on line 1204932597329Termination code 139 % which isn't the least helpful in locating the problem. The quickest fix is to just increase the size of the token array. The right fix involves adding a bit of code to lex.c$gettok(), around line 640, to check for overflow of this array when copying strings (find the MYQUOTE stuff and the char *p). Chris {seismo,allegra,brl-bmd}!umcp-cs!chris