MAXPATHLEN includes the trailing NUL character, so there's no need to add 1

to it for the size of path.
This commit is contained in:
imp 2001-03-01 05:47:28 +00:00
parent cb2b79eb74
commit 40f6e5b06d

View File

@ -222,7 +222,7 @@ getfield(p, endp, flags)
return (val);
}
char path[MAXPATHLEN + 1];
char path[MAXPATHLEN];
FILE *
opencal()