public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b04388a
)
fix in sscanf: _count field was wrong
author
ceriel
<none@none>
Wed, 9 May 1990 13:31:36 +0000
(13:31 +0000)
committer
ceriel
<none@none>
Wed, 9 May 1990 13:31:36 +0000
(13:31 +0000)
lang/cem/libcc/stdio/sscanf.c
patch
|
blob
|
history
diff --git
a/lang/cem/libcc/stdio/sscanf.c
b/lang/cem/libcc/stdio/sscanf.c
index
c0175e5
..
d1f0476
100644
(file)
--- a/
lang/cem/libcc/stdio/sscanf.c
+++ b/
lang/cem/libcc/stdio/sscanf.c
@@
-18,7
+18,7
@@
int sscanf(va_alist)
_tempfile._flags = IO_READMODE + IO_UNBUFF;
_tempfile._buf = (unsigned char *) string;
_tempfile._ptr = (unsigned char *) string;
- _tempfile._count =
32767
;
+ _tempfile._count =
strlen(string)
;
retval = _doscanf (&_tempfile, format, ap);
}