public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36e9345
)
Added patch for bad fseeks
author
ceriel
<none@none>
Wed, 23 Mar 1988 18:04:08 +0000
(18:04 +0000)
committer
ceriel
<none@none>
Wed, 23 Mar 1988 18:04:08 +0000
(18:04 +0000)
util/LLgen/src/gencode.c
patch
|
blob
|
history
diff --git
a/util/LLgen/src/gencode.c
b/util/LLgen/src/gencode.c
index
0040a72
..
1e154c8
100644
(file)
--- a/
util/LLgen/src/gencode.c
+++ b/
util/LLgen/src/gencode.c
@@
-341,6
+341,9
@@
getparams() {
/*
* Now copy the declarations
*/
+ l = getc(fact); /* patch: some implementations of fseek
+ do not work properly after "ungetc"
+ */
fseek(fact,off,0);
getaction(0);
fputs(" {\n",fpars);