
On Tue, Feb 23, 2021 at 08:07:21PM +0100, Mark Kettenis wrote:
Hi Simon,
Commit c5819701a3de61e2ba2ef7ad0b616565b32305e5 broke the build on OpenBSD and probably other non-Linux systems. ENODATA, which is now used in fit_check_format(), isn't defined. It isn't part of POSIX[1] and generally not available on BSD-derived systems. Could you pick another error code for this case?
Thanks,
Mark
[1] It is mentioned in the Open Group Base Specification, however it is part of the obsolete XSI STREAMS extension which was never part of POSIX proper.
Just for the record:
https://man7.org/linux/man-pages/man3/errno.3.html:
ENODATA No message is available on the STREAM head read queue (POSIX.1-2001).
So perhaps you want to also raise this with the Linux man pages project folks?