From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Steve Simon" Date: Mon, 9 Feb 2009 09:20:55 +0000 To: 9fans@9fans.net In-Reply-To: <20090209085540.GC22259@masters6.cs.jhu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] APE vsnprintf return value bug Topicbox-Message-UUID: 9a1bd1be-ead4-11e9-9d60-3106f5b1d025 I don't have a copy of the ISO 9899:1990 but Plauger's The Standard C Library has excerpts from it. In one of these it states: ``The vfprintf function returns the number of characters transmitted, or a negative value if an output error occured'' As APE does take great pains to be standards conformant its a shame to break it here. How about a _GLIBC_SOURCE define in the headers and a glibc_vfprintf() function in the library? Just my 2 cents worth. -Steve