Karsten Hopp e4eb52
To: vim_dev@googlegroups.com
Karsten Hopp e4eb52
Subject: Patch 7.3.1160
Karsten Hopp e4eb52
Fcc: outbox
Karsten Hopp e4eb52
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp e4eb52
Mime-Version: 1.0
Karsten Hopp e4eb52
Content-Type: text/plain; charset=UTF-8
Karsten Hopp e4eb52
Content-Transfer-Encoding: 8bit
Karsten Hopp e4eb52
------------
Karsten Hopp e4eb52
Karsten Hopp e4eb52
Patch 7.3.1160
Karsten Hopp e4eb52
Problem:    Mixing long and pointer doesn't always work.
Karsten Hopp e4eb52
Solution:   Avoid cast to pointer.
Karsten Hopp e4eb52
Files:	    src/undo.c
Karsten Hopp e4eb52
Karsten Hopp e4eb52
Karsten Hopp e4eb52
*** ../vim-7.3.1159/src/undo.c	2013-04-15 15:47:07.000000000 +0200
Karsten Hopp e4eb52
--- src/undo.c	2013-06-10 20:13:37.000000000 +0200
Karsten Hopp e4eb52
***************
Karsten Hopp e4eb52
*** 1514,1521 ****
Karsten Hopp e4eb52
  	write_ok = TRUE;
Karsten Hopp e4eb52
  #ifdef U_DEBUG
Karsten Hopp e4eb52
      if (headers_written != buf->b_u_numhead)
Karsten Hopp e4eb52
! 	EMSG3("Written %ld headers, but numhead is %ld",
Karsten Hopp e4eb52
! 					   headers_written, buf->b_u_numhead);
Karsten Hopp e4eb52
  #endif
Karsten Hopp e4eb52
  
Karsten Hopp e4eb52
  write_error:
Karsten Hopp e4eb52
--- 1514,1523 ----
Karsten Hopp e4eb52
  	write_ok = TRUE;
Karsten Hopp e4eb52
  #ifdef U_DEBUG
Karsten Hopp e4eb52
      if (headers_written != buf->b_u_numhead)
Karsten Hopp e4eb52
!     {
Karsten Hopp e4eb52
! 	EMSGN("Written %ld headers, ...", headers_written);
Karsten Hopp e4eb52
! 	EMSGN("... but numhead is %ld", buf->b_u_numhead);
Karsten Hopp e4eb52
!     }
Karsten Hopp e4eb52
  #endif
Karsten Hopp e4eb52
  
Karsten Hopp e4eb52
  write_error:
Karsten Hopp e4eb52
*** ../vim-7.3.1159/src/version.c	2013-06-10 20:10:40.000000000 +0200
Karsten Hopp e4eb52
--- src/version.c	2013-06-10 20:14:58.000000000 +0200
Karsten Hopp e4eb52
***************
Karsten Hopp e4eb52
*** 730,731 ****
Karsten Hopp e4eb52
--- 730,733 ----
Karsten Hopp e4eb52
  {   /* Add new patch number below this line */
Karsten Hopp e4eb52
+ /**/
Karsten Hopp e4eb52
+     1160,
Karsten Hopp e4eb52
  /**/
Karsten Hopp e4eb52
Karsten Hopp e4eb52
-- 
Karsten Hopp e4eb52
hundred-and-one symptoms of being an internet addict:
Karsten Hopp e4eb52
135. You cut classes or miss work so you can stay home and browse the web.
Karsten Hopp e4eb52
Karsten Hopp e4eb52
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp e4eb52
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp e4eb52
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp e4eb52
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///