Should check_ntsec() be added to cygwin?

Christopher Faylor cgf@redhat.com
Thu Mar 27 21:54:00 GMT 2003


On Thu, Mar 27, 2003 at 03:57:01PM -0500, Jason Tishler wrote:
>On Wed, Mar 26, 2003 at 08:32:37PM +0100, Corinna Vinschen wrote:
>> On Wed, Mar 26, 2003 at 01:49:50PM -0500, Christopher Faylor wrote:
>> > If you do work up a patch, however, if at all feasible, please use
>> > the cygwin_internal call for providing this functionality.
>> 
>> I agree.
>
>What is the criterion for using cygwin_internal() versus just exporting
>a function from the DLL?

We're trying not to add new cygwin_* functions unless there is no other
alternative.

>Additionally, I'm concerned that cygwin_internal() requires including
>windows.h which has caused me problems in the past.

I don't know why calling cygwin_internal requires windows.h.  I see that
the sys/cygwin.h defines cygwin_internal only if windows.h is included
but that's a bug.  I'll fix this.

cgf



More information about the Cygwin-developers mailing list