|
Karsten Hopp |
b4d2b5 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
b4d2b5 |
Subject: Patch 7.3.624
|
|
Karsten Hopp |
b4d2b5 |
Fcc: outbox
|
|
Karsten Hopp |
b4d2b5 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
b4d2b5 |
Mime-Version: 1.0
|
|
Karsten Hopp |
b4d2b5 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
b4d2b5 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
b4d2b5 |
------------
|
|
Karsten Hopp |
b4d2b5 |
|
|
Karsten Hopp |
b4d2b5 |
Patch 7.3.624
|
|
Karsten Hopp |
b4d2b5 |
Problem: When cancelling input() it returns the third argument. That should
|
|
Karsten Hopp |
b4d2b5 |
only happen for inputdialog().
|
|
Karsten Hopp |
b4d2b5 |
Solution: Check if inputdialog() was used. (Hirohito Higashi)
|
|
Karsten Hopp |
b4d2b5 |
Files: src/eval.c
|
|
Karsten Hopp |
b4d2b5 |
|
|
Karsten Hopp |
b4d2b5 |
|
|
Karsten Hopp |
b4d2b5 |
*** ../vim-7.3.623/src/eval.c 2012-07-25 16:46:59.000000000 +0200
|
|
Karsten Hopp |
b4d2b5 |
--- src/eval.c 2012-08-08 14:31:48.000000000 +0200
|
|
Karsten Hopp |
b4d2b5 |
***************
|
|
Karsten Hopp |
b4d2b5 |
*** 12966,12972 ****
|
|
Karsten Hopp |
b4d2b5 |
rettv->vval.v_string =
|
|
Karsten Hopp |
b4d2b5 |
getcmdline_prompt(inputsecret_flag ? NUL : '@', p, echo_attr,
|
|
Karsten Hopp |
b4d2b5 |
xp_type, xp_arg);
|
|
Karsten Hopp |
b4d2b5 |
! if (rettv->vval.v_string == NULL
|
|
Karsten Hopp |
b4d2b5 |
&& argvars[1].v_type != VAR_UNKNOWN
|
|
Karsten Hopp |
b4d2b5 |
&& argvars[2].v_type != VAR_UNKNOWN)
|
|
Karsten Hopp |
b4d2b5 |
rettv->vval.v_string = vim_strsave(get_tv_string_buf(
|
|
Karsten Hopp |
b4d2b5 |
--- 12966,12972 ----
|
|
Karsten Hopp |
b4d2b5 |
rettv->vval.v_string =
|
|
Karsten Hopp |
b4d2b5 |
getcmdline_prompt(inputsecret_flag ? NUL : '@', p, echo_attr,
|
|
Karsten Hopp |
b4d2b5 |
xp_type, xp_arg);
|
|
Karsten Hopp |
b4d2b5 |
! if (inputdialog && rettv->vval.v_string == NULL
|
|
Karsten Hopp |
b4d2b5 |
&& argvars[1].v_type != VAR_UNKNOWN
|
|
Karsten Hopp |
b4d2b5 |
&& argvars[2].v_type != VAR_UNKNOWN)
|
|
Karsten Hopp |
b4d2b5 |
rettv->vval.v_string = vim_strsave(get_tv_string_buf(
|
|
Karsten Hopp |
b4d2b5 |
*** ../vim-7.3.623/src/version.c 2012-08-08 13:17:26.000000000 +0200
|
|
Karsten Hopp |
b4d2b5 |
--- src/version.c 2012-08-08 14:28:46.000000000 +0200
|
|
Karsten Hopp |
b4d2b5 |
***************
|
|
Karsten Hopp |
b4d2b5 |
*** 716,717 ****
|
|
Karsten Hopp |
b4d2b5 |
--- 716,719 ----
|
|
Karsten Hopp |
b4d2b5 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
b4d2b5 |
+ /**/
|
|
Karsten Hopp |
b4d2b5 |
+ 624,
|
|
Karsten Hopp |
b4d2b5 |
/**/
|
|
Karsten Hopp |
b4d2b5 |
|
|
Karsten Hopp |
b4d2b5 |
--
|
|
Karsten Hopp |
b4d2b5 |
Your fault: core dumped
|
|
Karsten Hopp |
b4d2b5 |
|
|
Karsten Hopp |
b4d2b5 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
b4d2b5 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
b4d2b5 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
b4d2b5 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|