fix in sscanf: _count field was wrong
This commit is contained in:
parent
b04388a326
commit
c64733ae6f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue