delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/14/08:53:25

X-Spam-Check-By: sourceware.org
Date: Mon, 14 May 2007 08:53:02 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: missing functions
Message-ID: <20070514125302.GA7978@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20070502T004544-728 AT post DOT gmane DOT org> <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>
MIME-Version: 1.0
In-Reply-To: <46485A5F.6070705@byu.net>
User-Agent: Mutt/1.5.14 (2007-02-12)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mon, May 14, 2007 at 06:47:27AM -0600, Eric Blake wrote:
>According to Christopher Faylor on 5/14/2007 6:25 AM:
>>Why do we need to export *vdprintf_r at all?  Does some standard define
>>it?
>
>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.  That's one reason why we stopped performing the useless
task of exporting functions with leading underscores, although like
asprintf_r, I'm sure that a few of these have still crept in over the
years.

IMO, exporting functions like this just pollutes the namespace for very
very little gain.

cgf

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019