mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-13 14:40:22 +00:00
PATH_MAX in preference to MAXPATHLEN.
This commit is contained in:
parent
5782e27253
commit
91a086eaf5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77460
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user