Oh, I forgot BTW this patch which is needed with more recent versions.
That is needed because MAXPATHLEN is use for #ifdef elsewhere in the
code.  POSIX says that MAXPATHLEN should be just an number anyway.

Samuel

--- libopts/compat/compat.h.orig        2007-12-23 00:15:56.572492000 +0100
+++ libopts/compat/compat.h     2007-12-23 00:16:01.582492000 +0100
@@ -205,7 +205,7 @@
 #endif
 
 #if !defined (MAXPATHLEN)
-#  define MAXPATHLEN ((size_t)4096)
+#  define MAXPATHLEN 4096
 #endif /* MAXPATHLEN */
 
 #define AG_PATH_MAX  ((size_t)MAXPATHLEN)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to