PATH_MAX in preference to MAXPATHLEN.

This commit is contained in:
Warner Losh 2001-05-30 03:28:29 +00:00
parent 5782e27253
commit 91a086eaf5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77460

View File

@ -46,6 +46,7 @@ static const char rcsid[] =
#endif /* not lint */
#include <err.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@ -61,7 +62,7 @@ main(argc, argv)
{
int ch;
char *p;
char buf[MAXPATHLEN];
char buf[PATH_MAX];
/*
* Flags for pwd are a bit strange. The POSIX 1003.2B/D9 document