This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[hurd,commited] 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  <samuel.thibault@ens-lyon.org>
+
+	* conform/data/sys/un.h-data (struct sockaddr_un): Allow sun_len
+	member.
+
 2018-04-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	* 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 []
 
-- 
2.17.0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]