Bug 105490 - getservent* broken
Summary: getservent* broken
Status: VERIFIED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 1
Hardware: All Linux
: P5 - None : Normal
Target Milestone: ---
Assignee: Thorsten Kukuk
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 13:17 UTC by Jan Engelhardt
Modified: 2005-09-10 10:53 UTC (History)
0 users

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Testcase (472 bytes, application/octet-stream)
2005-08-18 13:18 UTC, Jan Engelhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Engelhardt 2005-08-18 13:17:39 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
Comment 1 Jan Engelhardt 2005-08-18 13:18:02 UTC
Created attachment 46480 [details]
Testcase
Comment 2 Thorsten Kukuk 2005-08-18 13:25:16 UTC
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.