Questions and a RFC [was Re: Assignment from Nicholas Wourms arrived]
Christopher Faylor
cgf@redhat.com
Sun Aug 17 16:43:00 GMT 2003
On Wed, Aug 13, 2003 at 07:04:16PM +0200, Corinna Vinschen wrote:
>>For future contributions, what is the official policy on doing it now?
>
>Basically don't add an underscore alias. Create an underscore alias if
>the function is used by newlib. Or, create an underscore alias if it's
>e.g. available in Linux or BSD, which might happen (mempcpy comes to
>mind).
I don't think this is right. The underscore aliases were put there,
IIRC, in a misplaced desire to emulate MSFT's version of such things as
_open, _close, etc. There is no reason to add underscores to any new
functions. The use of functions with leading underscores should be
considred deprecated.
cgf
More information about the Cygwin-patches
mailing list