From owner-cvs-lib Wed Dec 24 04:57:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA06241 for cvs-lib-outgoing; Wed, 24 Dec 1997 04:57:03 -0800 (PST) (envelope-from owner-cvs-lib) Received: from lsd.relcom.eu.net (ache@lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA06198; Wed, 24 Dec 1997 04:56:12 -0800 (PST) (envelope-from ache@lsd.relcom.eu.net) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.8/8.8.8) id PAA15428; Wed, 24 Dec 1997 15:56:07 +0300 (MSK) (envelope-from ache) Date: Wed, 24 Dec 1997 15:56:05 +0300 (MSK) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/stdio snprintf.c vsnprintf.c In-Reply-To: <199712241231.EAA19337@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 24 Dec 1997, Andrey A. Chernov wrote: > EOF in our implementation, so we can't distinguish true IO error or argument error, f.e. n = -1 (too big unsigned). > in that case. So 0 here is only possible case still conforming > to Single Unix specs. -2 f.e. is also possible, but meaningless and not compatible with others (Linux, Apache). -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/