Ticket #2592 (closed enhancement: fixed)
Solaris does not define NAME_MAX
| Reported by: | andreasf | Owned by: | bonefish |
|---|---|---|---|
| Priority: | normal | Milestone: | R1 |
| Component: | Build System | Version: | R1 development |
| Cc: | Blocked By: | ||
| Platform: | All | Blocking: |
Description
B_FILE_NAME_LENGTH is defined to NAME_MAX in headers/build/os/storage/StorageDefs.h, leading to compilation failure in OS.h.
Apparently this symbol is not mandatory in POSIX and may vary. The pathconf function would in theory be used to retrieve that value from file name or file descriptor.
We should probably define B_FILE_NAME_LENGTH to some sensible constant value in that case.
Change History
Note: See
TracTickets for help on using
tickets.
