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 sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <779F20BCCE5AD31186A50008C75D99791716C8@SILLDN_MAIL1> From: "Fifer, Eric" To: cygwin AT sourceware DOT cygnus DOT com Subject: RE: Using h_errno, errno etc Cygwin DLL globals [Re: Making wget] Date: Thu, 27 Jan 2000 13:03:31 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Since we're on the topic of netdb.h and h_errno, has anyone noticed that in the recent snapshots the symbol that appears in libcygwin.a doesn't agree with the definition in netdb.h: nm libcygwin.a | grep h_errno 00000000 ? __imp__h_errno netdb.h extern int * __imp_h_errno; #define h_errno (*__imp_h_errno) I think it should be (s/_h/__h/): extern int * __imp__h_errno; #define h_errno (*__imp__h_errno) or reworked as: extern int __declspec(dllimport) h_errno; Eric Fifer -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com