bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sys_socket tests: Improve tests for macro definitions.


From: Collin Funk
Subject: sys_socket tests: Improve tests for macro definitions.
Date: Mon, 22 Jul 2024 21:00:58 -0700
User-agent: Gnus/5.13 (Gnus v5.13)

Adding a few tests based on longstanding POSIX specification (i.e. not
added in 2024).

* AF_UNSPEC should be 0.
* All supported AF_* constants must have distinct values.
* SHUT_RD, SHUT_RDWR, SHUT_WR must have distinct values.

Gnulib doesn't guarantee this but it would be good to know if a platform
doesn't satisfy these rules.

Collin

Attachment: 0001-sys_socket-tests-Improve-tests-for-macro-definitions.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]