bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH 6/6] libutil: Drop the requirement for PATH_MAX macro


From: Punit Agrawal
Subject: [RFC PATCH 6/6] libutil: Drop the requirement for PATH_MAX macro
Date: Mon, 23 Jan 2017 22:43:39 +0000

PATH_MAX is no longer used in this file. Drop the requirement for it
to be defined.
---
 libutil/find.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libutil/find.c b/libutil/find.c
index 14d59d5..a515898 100644
--- a/libutil/find.c
+++ b/libutil/find.c
@@ -79,10 +79,6 @@
 #define STRNCMP strncmp
 #define ROOT 0
 #endif
-#ifndef PATH_MAX
-#error Since this platform does not have PATH_MAX, you should define it using 
an appropriate value for the platform.
-/* #define PATH_MAX     1024 */
-#endif
 /*
  * usage of find_xxx()
  *
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]