Ticket #2592 (closed enhancement: fixed)

Opened 4 months ago

Last modified 4 months ago

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

Changed 4 months ago by andreasf

Fixed in r26899, please close the ticket.

Changed 4 months ago by bonefish

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.