From: Bram Moolenaar Date: Fri, 20 Jun 2008 16:07:02 +0000 (+0000) Subject: updated for version 7.1-324 X-Git-Tag: v7.1.324 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38f12a9e2b5c9fc4536028d7ac0906abc5f1e1a9;p=vim updated for version 7.1-324 --- diff --git a/src/os_unix.h b/src/os_unix.h index be6048fa5..a337183c4 100644 --- a/src/os_unix.h +++ b/src/os_unix.h @@ -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 */ diff --git a/src/version.c b/src/version.c index ab34115a1..8406e897d 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 324, /**/ 323, /**/