Received: by mail.netbsd.org (Postfix, from userid 0) id 16A6E63B19B; Tue, 1 Dec 2009 00:03:56 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 6D97F63B131 for ; Tue, 1 Dec 2009 00:03:54 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 0EC4D175DD; Tue, 1 Dec 2009 00:03:54 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain Date: Tue, 1 Dec 2009 00:03:54 +0000 From: Roy Marples Subject: CVS commit: src/lib/libc/stdio To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20091201000354.0EC4D175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: list Reply-To: source-changes-d@NetBSD.org Module Name: src Committed By: roy Date: Tue Dec 1 00:03:53 UTC 2009 Modified Files: src/lib/libc/stdio: fgetstr.c getdelim.c local.h Log Message: Remove __getdelim and just use getdelim. fgetstr now works with strings up to SSIZE_MAX as a result, but may reallocate buffers needlessly just like it used to when the buffer size exceeds INT_MAX. fgetstr converts errno EOVERFLOW to EINVAL on getdelim error. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/lib/libc/stdio/fgetstr.c cvs rdiff -u -r1.7 -r1.8 src/lib/libc/stdio/getdelim.c cvs rdiff -u -r1.21 -r1.22 src/lib/libc/stdio/local.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.