diff options
author | pjd <pjd@FreeBSD.org> | 2010-08-11 16:29:12 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-08-11 16:29:12 +0000 |
commit | 286e5bb2273791af05c408ac70e3c75f5d595f21 (patch) | |
tree | cf736f7449e59155fda8af5d5117e991ee3b0949 /lib/libproc/proc_util.c | |
parent | af812168de987e4574b010e1b25ef58447386595 (diff) | |
download | FreeBSD-src-286e5bb2273791af05c408ac70e3c75f5d595f21.zip FreeBSD-src-286e5bb2273791af05c408ac70e3c75f5d595f21.tar.gz |
Instead of hardcoding {NAME_MAX} as 255 and {PATH_MAX} as 1024 obtain those from
pathconf(2) and properly generate too long file names.
This should fix ENAMETOOLONG checks on Linux.
Diffstat (limited to 'lib/libproc/proc_util.c')
0 files changed, 0 insertions, 0 deletions