Patch 7.3.412
Problem: Storing a float in a session file has an additional '&'.
Solution: Remove the '&'. (Yasuhiro Matsumoto)
Files: src/eval.c
*** ../vim-7.3.411/src/eval.c 2012-01-20 20:44:38.000000000 +0100
--- src/eval.c 2012-01-26 11:39:39.000000000 +0100
***************
*** 22929,22935 ****
f = -f;
sign = '-';
}
! if ((fprintf(fd, "let %s = %c&%f",
this_var->di_key, sign, f) < 0)
|| put_eol(fd) == FAIL)
return FAIL;
--- 22929,22935 ----
f = -f;
sign = '-';
}
! if ((fprintf(fd, "let %s = %c%f",
this_var->di_key, sign, f) < 0)
|| put_eol(fd) == FAIL)
return FAIL;
*** ../vim-7.3.411/src/version.c 2012-01-26 11:43:04.000000000 +0100
--- src/version.c 2012-01-26 11:44:56.000000000 +0100
***************
*** 716,717 ****
--- 716,719 ----
{ /* Add new patch number below this line */
+ /**/
+ 412,
/**/
--
Imagine a world without hypothetical situations.
/// Bram Moolenaar -- [email protected] -- 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 ///
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php