fix in sscanf: _count field was wrong

This commit is contained in:
ceriel 1990-05-09 13:31:36 +00:00
parent b04388a326
commit c64733ae6f

View file

@ -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);
}