Bugzilla – Bug 105490
getservent* broken
Last modified: 2005-09-10 10:53:29 UTC
The getservent* framework seems broken. Testcase attached. Output for me is: 15:14 shanghai:~/Coding # a.out #1 Port 22 is: pcanywherestat #2 SSH port is: 5632 Where it should preferably be: Port 22 is: ssh SSH port is: 22 Package info: 15:16 shanghai:~/Coding # rpm -q glibc glibc-devel gcc binutils glibc-2.3.5-33 glibc-devel-2.3.5-33 gcc-4.0.2_20050802-5 binutils-2.16.91.0.2-5
Created attachment 46480 [details] Testcase
RTFM (Hint: network byte order != x86 byte order) Between, "Hardware == all" is also a wrong, since have enough architectures which works with the correct endianess.