public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66ae108
)
fixed: the fgets replacement did not work properly
author
ceriel
<none@none>
Thu, 8 Dec 1988 16:18:29 +0000
(16:18 +0000)
committer
ceriel
<none@none>
Thu, 8 Dec 1988 16:18:29 +0000
(16:18 +0000)
lang/m2/libm2/XXTermcap.c
patch
|
blob
|
history
diff --git
a/lang/m2/libm2/XXTermcap.c
b/lang/m2/libm2/XXTermcap.c
index
46ff28c
..
81608dc
100644
(file)
--- a/
lang/m2/libm2/XXTermcap.c
+++ b/
lang/m2/libm2/XXTermcap.c
@@
-147,7
+147,7
@@
fgets(buf, count, fd)
}
*c = *pbf++;
if (*c++ == '\n') {
- *
--
c = 0;
+ *c = 0;
return buf;
}
}