From 8323a9022eea1b1d149eee6a8121a33c4d007bca Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 18 Apr 2018 00:34:18 +0200 Subject: [PATCH] hurd: fix conformity test for sys/un.h sun_len is used by BSD systems, and conformant. * conform/data/sys/un.h-data (struct sockaddr_un): Allow sun_len member. --- ChangeLog | 5 +++++ conform/data/sys/un.h-data | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 381a2ea2b7..cde575fbb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-04-18 Samuel Thibault + + * conform/data/sys/un.h-data (struct sockaddr_un): Allow sun_len + member. + 2018-04-16 Adhemerval Zanella * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path. diff --git a/conform/data/sys/un.h-data b/conform/data/sys/un.h-data index 1068440042..4e00742b9e 100644 --- a/conform/data/sys/un.h-data +++ b/conform/data/sys/un.h-data @@ -1,6 +1,7 @@ #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 type {struct sockaddr_un} +optional-element {struct sockaddr_un} {unsigned char} sun_len element {struct sockaddr_un} sa_family_t sun_family element {struct sockaddr_un} char sun_path []