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] |
> That's not what is used. gethostname() is a syscall. Really? When I run test-netdb under gdb on x86 and set a bkpt on gethostname, I get the C code. > The test-netdb code is clearly wrong, regardless of what the sysv > implementation of gethostname does. The test-netdb code is clearly correct according to the description of gethostname in the manual. However, the sysdeps/unix/sysv/gethostname.c code does not behave as the manual says--it should write the truncated name before returning ENAMETOOLONG.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |