delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/27/11:52:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Thu, 27 Jan 2000 11:11:53 -0500
To: "Fifer, Eric" <EFifer AT sanwaint DOT com>
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Using h_errno, errno etc Cygwin DLL globals [Re: Making wget]
Message-ID: <20000127111153.A5477@cygnus.com>
Mail-Followup-To: "Fifer, Eric" <EFifer AT sanwaint DOT com>,
cygwin AT sourceware DOT cygnus DOT com
References: <779F20BCCE5AD31186A50008C75D99791716C8 AT SILLDN_MAIL1>
Mime-Version: 1.0
X-Mailer: Mutt 1.0i
In-Reply-To: <779F20BCCE5AD31186A50008C75D99791716C8@SILLDN_MAIL1>; from EFifer@sanwaint.com on Thu, Jan 27, 2000 at 01:03:31PM -0000

On Thu, Jan 27, 2000 at 01:03:31PM -0000, Fifer, Eric wrote:
>
>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;

Care to submit a patch?

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019