ALT Linux Bugzilla
– Attachment 4309 Details for
Bug 23173
getaddrinfo(AF_UNSPEC) regression
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
Simple test case
tst-gai.c (text/plain), 346 bytes, created by
Dmitry V. Levin
on 2010-03-17 15:09:16 MSK
(
hide
)
Description:
Simple test case
Filename:
MIME Type:
Creator:
Dmitry V. Levin
Created:
2010-03-17 15:09:16 MSK
Size:
346 bytes
patch
obsolete
>#include <string.h> >#include <error.h> >#include <netdb.h> > >int >main(void) >{ > int err; > struct addrinfo hints, *res; > > memset(&hints, 0, sizeof(hints)); > hints.ai_family = AF_UNSPEC; > hints.ai_socktype = SOCK_STREAM; > if ((err = getaddrinfo("localhost.", "80", &hints, &res))) > error(1, 0, "getaddrinfo: %s", gai_strerror(err)); > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 23173
: 4309