public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/2773] New: socklen_t type buffer lengths in inet_ntop() functions
@ 2006-06-14 20:49 stlman at poczta dot fm
2006-06-14 21:04 ` [Bug libc/2773] " jakub at redhat dot com
2006-06-15 0:18 ` michael dot kerrisk at gmx dot net
0 siblings, 2 replies; 3+ messages in thread
From: stlman at poczta dot fm @ 2006-06-14 20:49 UTC (permalink / raw)
To: glibc-bugs
Why are the size variables in libc/resolv/inet_ntop.c of type socklen_t instead
of size_t while in fact they have nothing to do with any socket structures?
I ask about this because I just had a proble when I read the header file and the
manual (*not* carefuly enough) and put *thoughtlessly* sizeof(struct sockaddr)
as fourth argument. Of course it didn't work.
Indeed now for me this is only a matter of clarity but please answer.
--
Summary: socklen_t type buffer lengths in inet_ntop() functions
Product: glibc
Version: 2.3.6
Status: NEW
Severity: minor
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: stlman at poczta dot fm
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=2773
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-15 0:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-14 20:49 [Bug libc/2773] New: socklen_t type buffer lengths in inet_ntop() functions stlman at poczta dot fm
2006-06-14 21:04 ` [Bug libc/2773] " jakub at redhat dot com
2006-06-15 0:18 ` michael dot kerrisk at gmx dot net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).