4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: File name path length on Unix is limited to 1024.
12 Solution: Use PATH_MAX when it's more than 1000.
16 *** ../vim-7.1.323/src/os_unix.h Tue Jul 10 17:09:51 2007
17 --- src/os_unix.h Tue Jun 17 20:01:17 2008
20 * Unix has plenty of memory, use large buffers
22 #define CMDBUFFSIZE 1024 /* size of the command processing buffer */
23 ! #define MAXPATHL 1024 /* Unix has long paths and plenty of memory */
25 #define CHECK_INODE /* used when checking if a swap file already
28 * Unix has plenty of memory, use large buffers
30 #define CMDBUFFSIZE 1024 /* size of the command processing buffer */
32 ! /* Use the system path length if it makes sense. */
33 ! #if defined(PATH_MAX) && (PATH_MAX > 1000)
34 ! # define MAXPATHL PATH_MAX
36 ! # define MAXPATHL 1024
39 #define CHECK_INODE /* used when checking if a swap file already
41 *** ../vim-7.1.323/src/version.c Fri Jun 20 17:52:47 2008
42 --- src/version.c Fri Jun 20 18:04:25 2008
46 { /* Add new patch number below this line */
52 Q: What is a patch 22?
53 A: A patch you need to include to make it possible to include patches.
55 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
56 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
57 \\\ download, build and distribute -- http://www.A-A-P.org ///
58 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///