4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Crash when expanding a file name argument in backticks. (Adri
13 Solution: Check for the NUL after the expansion result.
17 *** ../vim-6.4.006/src/os_unix.c Sat Oct 8 16:39:10 2005
18 --- src/os_unix.c Thu Feb 2 12:48:28 2006
21 /* Space or NL separates */
22 if (shell_style == STYLE_ECHO || shell_style == STYLE_BT)
24 ! while (!(shell_style == STYLE_ECHO && *p == ' ') && *p != '\n')
26 if (p == buffer + len) /* last entry */
29 /* Space or NL separates */
30 if (shell_style == STYLE_ECHO || shell_style == STYLE_BT)
32 ! while (!(shell_style == STYLE_ECHO && *p == ' ')
33 ! && *p != '\n' && *p != NUL)
35 if (p == buffer + len) /* last entry */
37 *** ../vim-6.4.006/src/version.c Thu Dec 22 22:39:11 2005
38 --- src/version.c Wed Feb 8 11:10:30 2006
42 { /* Add new patch number below this line */
48 "My particular problem is with registry entries, which seem to just accumulate
49 like plastic coffee cups..." -- Paul Moore
51 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
52 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53 \\\ download, build and distribute -- http://www.A-A-P.org ///
54 \\\ help me help AIDS victims -- http://www.ICCF.nl ///