This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Questions and a RFC [was Re: Assignment from Nicholas Wourms arrived]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]