Added patch for bad fseeks

This commit is contained in:
ceriel 1988-03-23 18:04:08 +00:00
parent 36e934583a
commit 9dccd59665

View file

@ -341,6 +341,9 @@ getparams() {
/* /*
* Now copy the declarations * Now copy the declarations
*/ */
l = getc(fact); /* patch: some implementations of fseek
do not work properly after "ungetc"
*/
fseek(fact,off,0); fseek(fact,off,0);
getaction(0); getaction(0);
fputs(" {\n",fpars); fputs(" {\n",fpars);