diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | defines.h | 8 |
2 files changed, 11 insertions, 3 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20050527 | ||
2 | - (djm) [defines.h] Use our realpath if we have to define PATH_MAX, spotted by | ||
3 | David Leach; ok dtucker@ | ||
4 | |||
1 | 20050525 | 5 | 20050525 |
2 | - (djm) [mpaux.c mpaux.h Makefile.in] Remove old mpaux.[ch] code, it has not | 6 | - (djm) [mpaux.c mpaux.h Makefile.in] Remove old mpaux.[ch] code, it has not |
3 | been used for a while | 7 | been used for a while |
@@ -2608,4 +2612,4 @@ | |||
2608 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 2612 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
2609 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 2613 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
2610 | 2614 | ||
2611 | $Id: ChangeLog,v 1.3790 2005/05/26 10:48:25 djm Exp $ | 2615 | $Id: ChangeLog,v 1.3791 2005/05/27 09:36:56 djm Exp $ |
@@ -25,7 +25,7 @@ | |||
25 | #ifndef _DEFINES_H | 25 | #ifndef _DEFINES_H |
26 | #define _DEFINES_H | 26 | #define _DEFINES_H |
27 | 27 | ||
28 | /* $Id: defines.h,v 1.119 2005/02/20 10:01:49 dtucker Exp $ */ | 28 | /* $Id: defines.h,v 1.120 2005/05/27 09:36:56 djm Exp $ */ |
29 | 29 | ||
30 | 30 | ||
31 | /* Constants */ | 31 | /* Constants */ |
@@ -54,7 +54,11 @@ enum | |||
54 | # ifdef PATH_MAX | 54 | # ifdef PATH_MAX |
55 | # define MAXPATHLEN PATH_MAX | 55 | # define MAXPATHLEN PATH_MAX |
56 | # else /* PATH_MAX */ | 56 | # else /* PATH_MAX */ |
57 | # define MAXPATHLEN 64 /* Should be safe */ | 57 | # define MAXPATHLEN 64 |
58 | /* realpath uses a fixed buffer of size MAXPATHLEN, so force use of ours */ | ||
59 | # ifndef BROKEN_REALPATH | ||
60 | # define BROKEN_REALPATH 1 | ||
61 | # endif /* BROKEN_REALPATH */ | ||
58 | # endif /* PATH_MAX */ | 62 | # endif /* PATH_MAX */ |
59 | #endif /* MAXPATHLEN */ | 63 | #endif /* MAXPATHLEN */ |
60 | 64 | ||