]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-324 v7.1.324
authorBram Moolenaar <Bram@vim.org>
Fri, 20 Jun 2008 16:07:02 +0000 (16:07 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 20 Jun 2008 16:07:02 +0000 (16:07 +0000)
src/os_unix.h
src/version.c

index be6048fa5dc1e67c25d20c24cf98c4c582fd3b91..a337183c4a07c8ada68afaf1800822d7015501e1 100644 (file)
@@ -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 */
index ab34115a14ed541ca494b00985b7b03de43c29f9..8406e897d83b87ef6d9b976b8bc3ed7b31fe2002 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    324,
 /**/
     323,
 /**/