I'm trying to get the MacOS builds of Squid going again but having some problems with shm_open() in the Rock storage unit-tests.

1) MacOS defines the max name length we can pass to shm_open() at 30 bytes. "/squid-testRock__testRockSearch" being 35 or so bytes. Cutting the definition in testRock.cc down so it becomes "/squid-testRock_Search" resolves that, but then we hit (2).

2) With the short string above and the current settings sent to shm_open() in src/ipc/mem/Segment.cc line 73 MacOS shm_open() starts responding with EINVAL.

  Any ideas?


Amos

Reply via email to