-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Arch: allIssues that apply to all architecturesIssues that apply to all architecturesArea: ApiAPI IssuesAPI IssuesOS: MacIssues related to MacOS (building system, etc)Issues related to MacOS (building system, etc)Type: BugSomething isn't workingSomething isn't working
Description
Description / Steps to reproduce the issue
limits.h has the "Configurable limits required by POSIX" section
with _POSIX_xxx and _POSIX2_xxx constants.
for example,
#define _POSIX_NAME_MAX CONFIG_NAME_MAX
it seems inappropriate to me as these constants are not meant to be configurable.
My understanding is that these values are the minimum values allowed for POSIX-conforming platforms.
For example, _POSIX_PATH_MAX is the minimum acceptable value for PATH_MAX and so on.
Thus these values should not depend on any NuttX configs at all.
reference:
search "Minimum Acceptable Value" in https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/limits.h.html
On which OS does this issue occur?
[OS: Mac]
What is the version of your OS?
macOS 15.2
NuttX Version
master
Issue Architecture
[Arch: all]
Issue Area
[Area: Api]
Verification
- I have verified before submitting the report.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Arch: allIssues that apply to all architecturesIssues that apply to all architecturesArea: ApiAPI IssuesAPI IssuesOS: MacIssues related to MacOS (building system, etc)Issues related to MacOS (building system, etc)Type: BugSomething isn't workingSomething isn't working