In vop_stdpathconf(ap) also default for _PC_NAME_MAX and _PC_PATH_MAX.

This commit is contained in:
phk 2005-08-17 06:59:23 +00:00
parent d2cf0c963a
commit 2352e07b6f

View File

@ -217,6 +217,12 @@ vop_stdpathconf(ap)
{
switch (ap->a_name) {
case _PC_NAME_MAX:
*ap->a_retval = NAME_MAX;
return (0);
case _PC_PATH_MAX:
*ap->a_retval = PATH_MAX;
return (0);
case _PC_LINK_MAX:
*ap->a_retval = LINK_MAX;
return (0);