Added patch for bad fseeks
This commit is contained in:
parent
36e934583a
commit
9dccd59665
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue