|
Karsten Hopp |
00e0e8 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
00e0e8 |
Subject: Patch 7.1.324
|
|
Karsten Hopp |
00e0e8 |
Fcc: outbox
|
|
Karsten Hopp |
00e0e8 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
00e0e8 |
Mime-Version: 1.0
|
|
Karsten Hopp |
00e0e8 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
00e0e8 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
00e0e8 |
------------
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
Patch 7.1.324
|
|
Karsten Hopp |
00e0e8 |
Problem: File name path length on Unix is limited to 1024.
|
|
Karsten Hopp |
00e0e8 |
Solution: Use PATH_MAX when it's more than 1000.
|
|
Karsten Hopp |
00e0e8 |
Files: src/os_unix.h
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
*** ../vim-7.1.323/src/os_unix.h Tue Jul 10 17:09:51 2007
|
|
Karsten Hopp |
00e0e8 |
--- src/os_unix.h Tue Jun 17 20:01:17 2008
|
|
Karsten Hopp |
00e0e8 |
***************
|
|
Karsten Hopp |
00e0e8 |
*** 432,438 ****
|
|
Karsten Hopp |
00e0e8 |
* Unix has plenty of memory, use large buffers
|
|
Karsten Hopp |
00e0e8 |
*/
|
|
Karsten Hopp |
00e0e8 |
#define CMDBUFFSIZE 1024 /* size of the command processing buffer */
|
|
Karsten Hopp |
00e0e8 |
! #define MAXPATHL 1024 /* Unix has long paths and plenty of memory */
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
#define CHECK_INODE /* used when checking if a swap file already
|
|
Karsten Hopp |
00e0e8 |
exists for a file */
|
|
Karsten Hopp |
00e0e8 |
--- 432,444 ----
|
|
Karsten Hopp |
00e0e8 |
* Unix has plenty of memory, use large buffers
|
|
Karsten Hopp |
00e0e8 |
*/
|
|
Karsten Hopp |
00e0e8 |
#define CMDBUFFSIZE 1024 /* size of the command processing buffer */
|
|
Karsten Hopp |
00e0e8 |
!
|
|
Karsten Hopp |
00e0e8 |
! /* Use the system path length if it makes sense. */
|
|
Karsten Hopp |
00e0e8 |
! #if defined(PATH_MAX) && (PATH_MAX > 1000)
|
|
Karsten Hopp |
00e0e8 |
! # define MAXPATHL PATH_MAX
|
|
Karsten Hopp |
00e0e8 |
! #else
|
|
Karsten Hopp |
00e0e8 |
! # define MAXPATHL 1024
|
|
Karsten Hopp |
00e0e8 |
! #endif
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
#define CHECK_INODE /* used when checking if a swap file already
|
|
Karsten Hopp |
00e0e8 |
exists for a file */
|
|
Karsten Hopp |
00e0e8 |
*** ../vim-7.1.323/src/version.c Fri Jun 20 17:52:47 2008
|
|
Karsten Hopp |
00e0e8 |
--- src/version.c Fri Jun 20 18:04:25 2008
|
|
Karsten Hopp |
00e0e8 |
***************
|
|
Karsten Hopp |
00e0e8 |
*** 668,669 ****
|
|
Karsten Hopp |
00e0e8 |
--- 673,676 ----
|
|
Karsten Hopp |
00e0e8 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
00e0e8 |
+ /**/
|
|
Karsten Hopp |
00e0e8 |
+ 324,
|
|
Karsten Hopp |
00e0e8 |
/**/
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
--
|
|
Karsten Hopp |
00e0e8 |
Q: What is a patch 22?
|
|
Karsten Hopp |
00e0e8 |
A: A patch you need to include to make it possible to include patches.
|
|
Karsten Hopp |
00e0e8 |
|
|
Karsten Hopp |
00e0e8 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
00e0e8 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
00e0e8 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
00e0e8 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|