This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Make getsockopt() a weak symbol
- From: Roland McGrath <roland at redhat dot com>
- To: Emilio Pozuelo Monfort <pochu27 at gmail dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 19 Jul 2010 16:36:47 -0700 (PDT)
- Subject: Re: [PATCH] Make getsockopt() a weak symbol
- References: <4C44C2BB.3020501@gmail.com>
The reason is that there was, and is, no __getsockopt call from elsewhere
in libc. Calls to getsockopt are kosher in parts of libc that are never
called by ISO C libc functions. POSIX code cannot use the name getsockopt
for its own purposes anyway.
What problem do you think you are solving here?
Thanks,
Roland