]>
Commit | Line | Data |
---|---|---|
215fbeef AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.324 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.1.324 | |
11 | Problem: File name path length on Unix is limited to 1024. | |
12 | Solution: Use PATH_MAX when it's more than 1000. | |
13 | Files: src/os_unix.h | |
14 | ||
15 | ||
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 | |
18 | *************** | |
19 | *** 432,438 **** | |
20 | * Unix has plenty of memory, use large buffers | |
21 | */ | |
22 | #define CMDBUFFSIZE 1024 /* size of the command processing buffer */ | |
23 | ! #define MAXPATHL 1024 /* Unix has long paths and plenty of memory */ | |
24 | ||
25 | #define CHECK_INODE /* used when checking if a swap file already | |
26 | exists for a file */ | |
27 | --- 432,444 ---- | |
28 | * Unix has plenty of memory, use large buffers | |
29 | */ | |
30 | #define CMDBUFFSIZE 1024 /* size of the command processing buffer */ | |
31 | ! | |
32 | ! /* Use the system path length if it makes sense. */ | |
33 | ! #if defined(PATH_MAX) && (PATH_MAX > 1000) | |
34 | ! # define MAXPATHL PATH_MAX | |
35 | ! #else | |
36 | ! # define MAXPATHL 1024 | |
37 | ! #endif | |
38 | ||
39 | #define CHECK_INODE /* used when checking if a swap file already | |
40 | exists for a file */ | |
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 | |
43 | *************** | |
44 | *** 668,669 **** | |
45 | --- 673,676 ---- | |
46 | { /* Add new patch number below this line */ | |
47 | + /**/ | |
48 | + 324, | |
49 | /**/ | |
50 | ||
51 | -- | |
52 | Q: What is a patch 22? | |
53 | A: A patch you need to include to make it possible to include patches. | |
54 | ||
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 /// |