Karsten Hopp 250b7e
To: vim_dev@googlegroups.com
Karsten Hopp 250b7e
Subject: Patch 7.3.412
Karsten Hopp 250b7e
Fcc: outbox
Karsten Hopp 250b7e
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 250b7e
Mime-Version: 1.0
Karsten Hopp 250b7e
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 250b7e
Content-Transfer-Encoding: 8bit
Karsten Hopp 250b7e
------------
Karsten Hopp 250b7e
Karsten Hopp 250b7e
Patch 7.3.412
Karsten Hopp 250b7e
Problem:    Storing a float in a session file has an additional '&'.
Karsten Hopp 250b7e
Solution:   Remove the '&'. (Yasuhiro Matsumoto)
Karsten Hopp 250b7e
Files:	    src/eval.c
Karsten Hopp 250b7e
Karsten Hopp 250b7e
Karsten Hopp 250b7e
*** ../vim-7.3.411/src/eval.c	2012-01-20 20:44:38.000000000 +0100
Karsten Hopp 250b7e
--- src/eval.c	2012-01-26 11:39:39.000000000 +0100
Karsten Hopp 250b7e
***************
Karsten Hopp 250b7e
*** 22929,22935 ****
Karsten Hopp 250b7e
  		    f = -f;
Karsten Hopp 250b7e
  		    sign = '-';
Karsten Hopp 250b7e
  		}
Karsten Hopp 250b7e
! 		if ((fprintf(fd, "let %s = %c&%f",
Karsten Hopp 250b7e
  					       this_var->di_key, sign, f) < 0)
Karsten Hopp 250b7e
  			|| put_eol(fd) == FAIL)
Karsten Hopp 250b7e
  		    return FAIL;
Karsten Hopp 250b7e
--- 22929,22935 ----
Karsten Hopp 250b7e
  		    f = -f;
Karsten Hopp 250b7e
  		    sign = '-';
Karsten Hopp 250b7e
  		}
Karsten Hopp 250b7e
! 		if ((fprintf(fd, "let %s = %c%f",
Karsten Hopp 250b7e
  					       this_var->di_key, sign, f) < 0)
Karsten Hopp 250b7e
  			|| put_eol(fd) == FAIL)
Karsten Hopp 250b7e
  		    return FAIL;
Karsten Hopp 250b7e
*** ../vim-7.3.411/src/version.c	2012-01-26 11:43:04.000000000 +0100
Karsten Hopp 250b7e
--- src/version.c	2012-01-26 11:44:56.000000000 +0100
Karsten Hopp 250b7e
***************
Karsten Hopp 250b7e
*** 716,717 ****
Karsten Hopp 250b7e
--- 716,719 ----
Karsten Hopp 250b7e
  {   /* Add new patch number below this line */
Karsten Hopp 250b7e
+ /**/
Karsten Hopp 250b7e
+     412,
Karsten Hopp 250b7e
  /**/
Karsten Hopp 250b7e
Karsten Hopp 250b7e
-- 
Karsten Hopp 250b7e
Imagine a world without hypothetical situations.
Karsten Hopp 250b7e
Karsten Hopp 250b7e
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 250b7e
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 250b7e
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 250b7e
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///