This is the mail archive of the cygwin-patches@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: [egorovv@mailandnews.com: inet_network]


On Wed, Apr 19, 2000 at 01:52:08PM -0400, DJ Delorie wrote:
>
>> Occasionally (building Apache) I found that though <arpa/inet.h> declares 
>> inet_network, it is not implemented. 
>> 
>> Here is my proposal which makes use of an undocumented wsock32.dll entry.
>
>If it's undocumented, we should gracefully handle the case where it
>isn't in the DLL.  Could you add some code that detects the failure of
>LoadDLLFunc and returns a suitable error code if the function isn't
>defined?  That would be better than a core dump.

LoadDLLFunc should actually abort the process if it can't load the function.

cgf

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