This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: test-netdb.c


Roland McGrath <roland@frob.com> writes:

> Please see sysdeps/unix/sysv/gethostname.c; I did test the change
> on Linux before I made the commit.

That's not what is used.  gethostname() is a syscall.  And yes, the
code didn't fail but this is surprising.  The first problem I saw was
on Saturday on Alpha.  This is when I asked Andreas to look at it.

The test-netdb code is clearly wrong, regardless of what the sysv
implementation of gethostname does.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


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