sys/mount.h vs fcntl.h

Andreas Schwab schwab@suse.de
Wed Jan 28 09:34:25 GMT 2026


On Jan 27 2026, DJ Delorie wrote:

> Delegating this check to a test means an error might get introduced and,
> if the user doesn't run all the tests, won't notice.  The #error makes
> the problem visible as early as possible.

The point is that this check should remain internal to glibc, not part
of the installed header.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Libc-alpha mailing list