summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--defines.h8
2 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index dd64f137..5c9182c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,7 +2,9 @@
- (dtucker) [regress/test-exec.sh] Do not prepend an extra "/" to a fully-
qualified sshd pathname since some systems (eg Cygwin) may consider "/foo"
and "//foo" to be different. Spotted by vinschen at redhat.com.
- - (tim) [configure.ac ] Not all gcc's support -Wsign-compare
+ - (tim) [configure.ac] Not all gcc's support -Wsign-compare. Enhancements
+ and OK dtucker@
+ - (tim) [defines.h] PATH_MAX bits for OpenServer OK dtucker@
20050821
- (dtucker) [configure.ac defines.h includes.h sftp.c] Add support for
@@ -2951,4 +2953,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.3877 2005/08/24 00:11:26 tim Exp $
+$Id: ChangeLog,v 1.3878 2005/08/24 00:18:21 tim Exp $
diff --git a/defines.h b/defines.h
index 3103f874..670fc3fe 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
#ifndef _DEFINES_H
#define _DEFINES_H
-/* $Id: defines.h,v 1.124 2005/08/22 22:06:56 dtucker Exp $ */
+/* $Id: defines.h,v 1.125 2005/08/24 00:18:21 tim Exp $ */
/* Constants */
@@ -62,6 +62,12 @@ enum
# endif /* PATH_MAX */
#endif /* MAXPATHLEN */
+#ifndef PATH_MAX
+# ifdef _POSIX_PATH_MAX
+# define PATH_MAX _POSIX_PATH_MAX
+# endif
+#endif
+
#ifndef MAXSYMLINKS
# define MAXSYMLINKS 5
#endif