This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/21260] New: [alpha] struct netent n_net wrong type
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 16 Mar 2017 23:39:31 +0000
- Subject: [Bug network/21260] New: [alpha] struct netent n_net wrong type
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21260
Bug ID: 21260
Summary: [alpha] struct netent n_net wrong type
Product: glibc
Version: 2.25
Status: NEW
Severity: normal
Priority: P2
Component: network
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
Target Milestone: ---
Host: alpha*-*-linux*
sysdeps/unix/sysv/linux/alpha/bits/netdb.h defines:
struct netent
{
char *n_name; /* Official name of network. */
char **n_aliases; /* Alias list. */
int n_addrtype; /* Net address type. */
/* XXX We should probably use uint32_t for the field and ensure
compatibility by adding appropriate padding. */
unsigned long int n_net; /* Network number. */
};
This type of n_net is contrary to POSIX, resulting in the following failures:
FAIL: conform/XOPEN2K/netdb.h/conform
FAIL: conform/XOPEN2K8/netdb.h/conform
--
You are receiving this mail because:
You are on the CC list for the bug.