Date: Thu, 17 Oct 2002 05:02:36 -0700 (PDT) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio vfwscanf.c Message-ID: <200210171202.g9HC2aS2046703@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr 2002/10/17 05:02:36 PDT
Modified files:
lib/libc/stdio vfwscanf.c
Log:
The field width for single-byte string conversions (%c, %s, %[) is the
maximum number of bytes that may be stored in the array, not the maximum
number of wide characters to read. The wording of the standard unfortunately
does not make this clear.
Revision Changes Path
1.3 +88 -33 src/lib/libc/stdio/vfwscanf.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210171202.g9HC2aS2046703>
