ignore the comment in limits.h and define NAME_MAX
There's a bunch of standards handwaving and lunacy in limits.h about why we don't define NAME_MAX.
We should ignore it, delete the comment, and define it for the sake of compatibility (presumably to the same value as MAXNAMELEN).
As best as I can tell, the hand-wringing in the header is for the sake of pcfs and s5fs!
Updated by Electric Monk over 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 9c0752ac0dc05794d2f8a8b4521d55e2b3f63247 Author: Andrew Stormont <firstname.lastname@example.org> Date: 2017-04-27T00:22:44.000Z 3188 ignore the comment in limits.h and define NAME_MAX Reviewed by: Jason King <email@example.com> Reviewed by: Peter Tribble <firstname.lastname@example.org> Reviewed by: Sam Zaydel <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>