This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: Using h_errno, errno etc Cygwin DLL globals [Re: Making wget]


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@sourceware.cygnus.com


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