From 08c42ac0b5d9043fdbee99933d97e102fe123ad1 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Sep 09 2014 23:04:49 +0000 Subject: - patchlevel 439 --- diff --git a/7.4.439 b/7.4.439 new file mode 100644 index 0000000..7d9ed9d --- /dev/null +++ b/7.4.439 @@ -0,0 +1,56 @@ +To: vim_dev@googlegroups.com +Subject: Patch 7.4.439 +Fcc: outbox +From: Bram Moolenaar +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 7.4.439 +Problem: Duplicate message in message history. Some quickfix messages + appear twice. (Gary Johnson) +Solution: Do not reset keep_msg too early. (Hirohito Higashi) +Files: src/main.c + + +*** ../vim-7.4.438/src/main.c 2014-09-09 12:25:27.764501863 +0200 +--- src/main.c 2014-09-09 17:37:56.612542817 +0200 +*************** +*** 1249,1257 **** + char_u *p; + + /* msg_attr_keep() will set keep_msg to NULL, must free the +! * string here. */ + p = keep_msg; +- keep_msg = NULL; + msg_attr(p, keep_msg_attr); + vim_free(p); + } +--- 1249,1257 ---- + char_u *p; + + /* msg_attr_keep() will set keep_msg to NULL, must free the +! * string here. Don't reset keep_msg, msg_attr_keep() uses it +! * to check for duplicates. */ + p = keep_msg; + msg_attr(p, keep_msg_attr); + vim_free(p); + } +*** ../vim-7.4.438/src/version.c 2014-09-09 17:33:02.704542175 +0200 +--- src/version.c 2014-09-09 17:41:11.984543243 +0200 +*************** +*** 743,744 **** +--- 743,746 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 439, + /**/ + +-- +Corduroy pillows: They're making headlines! + + /// 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 ///