X-Spam-Check-By: sourceware.org Message-ID: <46486078.30409@byu.net> Date: Mon, 14 May 2007 07:13:28 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: missing functions References: <20070514121228 DOT GC12259 AT calimero DOT vinschen DOT de> <4648549E DOT 40203 AT byu DOT net> <20070514122516 DOT GA7880 AT ednor DOT casa DOT cgf DOT cx> <46485A5F DOT 6070705 AT byu DOT net> <20070514125302 DOT GA7978 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: <20070514125302.GA7978@ednor.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Christopher Faylor on 5/14/2007 6:53 AM: >> Does cygwin care about providing reentrant versions of functions? >> There is precedent for doing this: as an example, cygwin.din already >> exports asprintf_r. > > That was probably one of many ill-conceived entries in cygwin.din, then. > If there is no POSIX or linux version of a function there is no reason > to export it. Then here's the revised list of functions I still think are worth exporting: _Exit asnprintf dprintf vasnprintf vdprintf And seeing as how Linux does not yet provide [v]asnprintf, here are my arguments for exporting it: http://sourceware.org/ml/newlib/2007/msg00403.html In other words, there are several existing programs ported to cygwin that would benefit from smaller size and slightly faster execution if asnprintf were exposed as part of cygwin1.dll, and the size impact to cygwin1.dll to provide this nice hook is much smaller than the impact of implementing asnprintf in program space as a less efficient wrapper around snprintf. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGSGB384KuGfSFAYARAqp3AJ0TQo1XUkDkaj4ekTUpzDx1xmfGxwCdFu+z sAFwbVkqAtIgUyFQa7LL2z0= =mlZ4 -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/