Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Authentication-Warning: hp2.xraylith.wisc.edu: khan owned process doing -bs Date: Fri, 27 Jul 2001 11:16:45 -0500 (CDT) From: Mumit Khan To: Corinna Vinschen Subject: Re: TCP Wrappers Port In-Reply-To: <20010727174811.C9116@cygbert.vinschen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 27 Jul 2001, Corinna Vinschen wrote: > On Fri, Jul 27, 2001 at 09:36:55AM -0400, Prentis Brooks wrote: > > I am willing to take that on. Mumit's patch does fix the issue, I did not > > realize that sys_nerr and sys_errlist were managed by _sys_nerr and > > _sys_errlist in cygwin. Just a quick question, but where is that sort of > > thing documented, in the API docs? Once I know where to look for that stuff, > > Actually I don't even know why the stuff begins with undersores. It's an unfortunate decision that makes life unnecessarily harder for existing code. New code of course should be using strerror() etc instead of looking inside sys_errlist, sys_nerr etc, but there's lots of legacy systems which lack strerror() interface. Regards, Mumit -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/