From 1244169d81cf520b46d83bdda79a63382a1331c5 Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 30 May 2001 03:28:29 +0000 Subject: PATH_MAX in preference to MAXPATHLEN. --- bin/pwd/pwd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/pwd') diff --git a/bin/pwd/pwd.c b/bin/pwd/pwd.c index 886bbb9..befb340 100644 --- a/bin/pwd/pwd.c +++ b/bin/pwd/pwd.c @@ -46,6 +46,7 @@ static const char rcsid[] = #endif /* not lint */ #include +#include #include #include #include @@ -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 -- cgit v1.1