detox icon indicating copy to clipboard operation
detox copied to clipboard

Use PATH_MAX and NAME_MAX instead of hard-coded pathname limits

Open dharple opened this issue 4 years ago • 0 comments

Use PATH_MAX as the maximum length of a path. Use NAME_MAX for the maximum length of a filename.

See: /usr/include/linux/limits.h

dharple avatar Feb 21 '21 20:02 dharple