From 049f1dbe6869a4918c9b2181b1014db6c0e3259b Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Thu, 22 Mar 2012 04:50:26 +0000
Subject: maint: ensure PATH_MAX is set correctly
This reverts part of commit v8.12-103-g54cbe6e.
* src/system.h: Include gnulib's pathmax.h to honor
system specific limits, and then we set PATH_MAX only if needed.
Note pathmax.h no longer uses pathconf ("/", _PC_PATH_MAX).
Note I didn't reinstate the comments about limits.h inclusion
order, because pathmax.h includes limits.h anyway.
---
src/system.h | 2 ++
1 file changed, 2 insertions(+)
(limited to 'src/system.h')
diff --git a/src/system.h b/src/system.h
index 49cd08a3b..93d48c57d 100644
--- a/src/system.h
+++ b/src/system.h
@@ -41,6 +41,8 @@ you must include