To: vim_dev@googlegroups.com Subject: Patch 7.4a.001 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4a.002 Problem: Valgrind errors in test 89. (Simon Ruderich) Solution: Allocate one more byte. (Dominique Pelle) Files: src/misc2.c *** ../vim-7.4a.001/src/misc2.c 2013-07-04 21:14:48.000000000 +0200 --- src/misc2.c 2013-07-07 16:03:35.000000000 +0200 *************** *** 4712,4718 **** { wc_path = vim_strsave(search_ctx->ffsc_wc_path); temp = alloc((int)(STRLEN(search_ctx->ffsc_wc_path) ! + (STRLEN(search_ctx->ffsc_fix_path)) - len)); } if (temp == NULL || wc_path == NULL) --- 4712,4719 ---- { wc_path = vim_strsave(search_ctx->ffsc_wc_path); temp = alloc((int)(STRLEN(search_ctx->ffsc_wc_path) ! + STRLEN(search_ctx->ffsc_fix_path + len) ! + 1)); } if (temp == NULL || wc_path == NULL) *** ../vim-7.4a.001/src/version.c 2013-07-06 16:21:14.000000000 +0200 --- src/version.c 2013-07-07 16:14:38.000000000 +0200 *************** *** 730,731 **** --- 730,733 ---- { /* Add new patch number below this line */ + /**/ + 2, /**/ -- Kisses may last for as much as, but no more than, five minutes. [real standing law in Iowa, United States of America] /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///