This is the mail archive of the cygwin 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] |
Other format: | [Raw text] |
Hi, the attached two test programs should perform exactly the same call to getaddrinfo for 127.0.0.1 however on 32 bit CYGWIN_NT-6.1-WOW64 1.7.30(0.272/5/3) 2014-05-23 10:36 i686 Cygwin 32 $ ./getaddrinfo_test-1_32 127.0.0.1 ai_addr 02 00 00 00 7f 00 00 01 00 00 00 00 00 00 00 00 32 $ ./getaddrinfo_test-2_32 127.0.0.1 ai_addr 02 00 00 00 7f 00 00 01 00 00 00 00 00 00 00 00 while on 64 bit CYGWIN_NT-6.1 1.7.30(0.272/5/3) 2014-05-23 10:36 x86_64 Cygwin 64 $ ./getaddrinfo_test-1_64 127.0.0.1 ai_addr 02 00 00 00 7f 00 00 01 00 00 00 00 00 00 00 00 64 $ ./getaddrinfo_test-2_64 getaddrinfo: Non-recoverable failure in name resolution Am I missing something ? The second way is currently used on postgresql in several places, but it seems to fail only for "127.0.0.1" Regards Marco
Attachment:
getaddrinfo_test-1.c
Description: Text document
Attachment:
getaddrinfo_test-2.c
Description: Text document
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |