Opened 16 years ago

Closed 16 years ago

#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/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

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 (2)

comment:1 by andreasf, 16 years ago

Fixed in hrev26899, please close the ticket.

comment:2 by bonefish, 16 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.