[Bug 214735] Add ENODATA to errno.h
[email protected] Tue, 21 Jul 2026 11:00:35 +0000
| Newsgroups | gmane.os.freebsd.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214735 --- Comment #3 from Willem Jan Withagen <[email protected]> --- I would advise against using a different number for this define.... The reason for adding it is make "Linux originated code" compile easier. Ceph has a lot of places where is does: if (func() == ENODATA) { repair or report; } Giving it a different value from ENOATTR will not fix the challenge since now: - the code compiles - but the test fails, because ENODATA != ENOATTR - porter gets to chase down errors in code that runs but fails in weird places So fixing it wrongly is worse than just closing this bug-report. -- You are receiving this mail because: You are the assignee for the bug.