Permalink
Browse files

updated for version 7.1-324

  • Loading branch information...
1 parent 279b3f8 commit bafdc2c3e19fbda613bd151a3dae54a2988f98b8 vimboss committed Jun 20, 2008
Showing with 9 additions and 1 deletion.
  1. +7 −1 src/os_unix.h
  2. +2 −0 src/version.c
View
@@ -432,7 +432,13 @@ typedef struct dsc$descriptor DESC;
* Unix has plenty of memory, use large buffers
*/
#define CMDBUFFSIZE 1024 /* size of the command processing buffer */
-#define MAXPATHL 1024 /* Unix has long paths and plenty of memory */
+
+/* Use the system path length if it makes sense. */
+#if defined(PATH_MAX) && (PATH_MAX > 1000)
+# define MAXPATHL PATH_MAX
+#else
+# define MAXPATHL 1024
+#endif
#define CHECK_INODE /* used when checking if a swap file already
exists for a file */
View
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 324,
+/**/
323,
/**/
322,

0 comments on commit bafdc2c

Please sign in to comment.