[Bug network/21260] New: [alpha] struct netent n_net wrong type
jsm28 at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Thu Mar 16 23:39:00 GMT 2017
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.
More information about the Glibc-bugs
mailing list