[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
- [RFC PATCH 0/6] Enable building Gnu Global package on Hurd, Punit Agrawal, 2017/01/24
- [RFC PATCH 3/6] libutil: Remove usage of PATH_MAX from getrealpath, Punit Agrawal, 2017/01/24
- [RFC PATCH 1/6] libutil: Drop extraneous function declarations, Punit Agrawal, 2017/01/24
- [RFC PATCH 2/6] libutil: Staticize locally used functions, Punit Agrawal, 2017/01/24
- [RFC PATCH 5/6] libutil: Convert rootdir to a dynamically allocated array, Punit Agrawal, 2017/01/24
- [RFC PATCH 4/6] libutil: Remove usage of PATH_MAX from has_symlinkloop, Punit Agrawal, 2017/01/24
- [RFC PATCH 6/6] libutil: Drop the requirement for PATH_MAX macro,
Punit Agrawal <=
- Re: [RFC PATCH 0/6] Enable building Gnu Global package on Hurd, Shigio YAMAGUCHI, 2017/01/25