From owner-cvs-all Thu Oct 17 5: 4: 6 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD84137B401; Thu, 17 Oct 2002 05:04:05 -0700 (PDT) Received: from repoman.freebsd.org (unknown [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 801EB43E3B; Thu, 17 Oct 2002 05:04:05 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9HC2bmV046704; Thu, 17 Oct 2002 05:02:37 -0700 (PDT) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9HC2aS2046703; Thu, 17 Oct 2002 05:02:36 -0700 (PDT) Message-Id: <200210171202.g9HC2aS2046703@repoman.freebsd.org> From: "Tim J. Robbins" Date: Thu, 17 Oct 2002 05:02:36 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio vfwscanf.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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