FreeBSD, NetBSD, linux all define MAXNAMLEN in dirent.h, but not DFly.
Is this an oversight or deliberate?
Deliberate. It doesn't make any sense and PATH_MAX or NAME_MAX should be
used instead. MAXNAMLEN is the historic limitation of FFS, for the
Yes, I see now. This is how linux works around it:
# ifdef NAME_MAX
# define MAXNAMLEN NAME_MAX
# define MAXNAMLEN 255
- Description updated (diff)
- Status changed from New to Closed
- Assignee deleted (
Also available in: Atom