4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
10 Patch 7.2.438 (after 7.2.427)
11 Problem: "vim -r" crashes.
12 Solution: Don't use NULL pointer argument.
16 *** ../vim-7.2.437/src/memline.c 2010-05-14 17:52:35.000000000 +0200
17 --- src/memline.c 2010-05-25 21:36:01.000000000 +0200
23 ! char_u *fname_res = *fname;
25 char_u fname_buf[MAXPATHL];
27 /* Expand symlink in the file name, because the swap file is created with
28 * the actual file instead of with the symlink. */
29 if (resolve_symlink(*fname, fname_buf) == OK)
30 fname_res = fname_buf;
39 ! char_u *fname_res = NULL;
41 char_u fname_buf[MAXPATHL];
46 + #ifdef HAVE_READLINK
47 /* Expand symlink in the file name, because the swap file is created with
48 * the actual file instead of with the symlink. */
49 if (resolve_symlink(*fname, fname_buf) == OK)
50 fname_res = fname_buf;
58 *** ../vim-7.2.437/src/version.c 2010-05-21 13:08:51.000000000 +0200
59 --- src/version.c 2010-05-25 21:30:12.000000000 +0200
63 { /* Add new patch number below this line */
69 A fool learns from his mistakes, a wise man from someone else's.
71 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
72 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
73 \\\ download, build and distribute -- http://www.A-A-P.org ///
74 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///