Karsten Hopp 8622e0
To: vim_dev@googlegroups.com
Karsten Hopp 8622e0
Subject: Patch 7.3.1210
Karsten Hopp 8622e0
Fcc: outbox
Karsten Hopp 8622e0
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 8622e0
Mime-Version: 1.0
Karsten Hopp 8622e0
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 8622e0
Content-Transfer-Encoding: 8bit
Karsten Hopp 8622e0
------------
Karsten Hopp 8622e0
Karsten Hopp 8622e0
Patch 7.3.1210 (after 7.3.1182)
Karsten Hopp 8622e0
Problem:    'backupcopy' default on MS-Windows is wrong when 'encoding' equals
Karsten Hopp 8622e0
	    the current codepage.
Karsten Hopp 8622e0
Solution:   Change the #else block. (Ken Takata)
Karsten Hopp 8622e0
Files:	    src/os_win32.c
Karsten Hopp 8622e0
Karsten Hopp 8622e0
Karsten Hopp 8622e0
*** ../vim-7.3.1209/src/os_win32.c	2013-06-12 22:41:30.000000000 +0200
Karsten Hopp 8622e0
--- src/os_win32.c	2013-06-16 16:29:34.000000000 +0200
Karsten Hopp 8622e0
***************
Karsten Hopp 8622e0
*** 2789,2802 ****
Karsten Hopp 8622e0
  	    reparseTag = findDataW.dwReserved0;
Karsten Hopp 8622e0
  	}
Karsten Hopp 8622e0
      }
Karsten Hopp 8622e0
! #else
Karsten Hopp 8622e0
!     hFind = FindFirstFile(fname, &findDataA);
Karsten Hopp 8622e0
!     if (hFind != INVALID_HANDLE_VALUE)
Karsten Hopp 8622e0
      {
Karsten Hopp 8622e0
! 	fileFlags = findDataA.dwFileAttributes;
Karsten Hopp 8622e0
! 	reparseTag = findDataA.dwReserved0;
Karsten Hopp 8622e0
      }
Karsten Hopp 8622e0
- #endif
Karsten Hopp 8622e0
  
Karsten Hopp 8622e0
      if (hFind != INVALID_HANDLE_VALUE)
Karsten Hopp 8622e0
  	FindClose(hFind);
Karsten Hopp 8622e0
--- 2789,2804 ----
Karsten Hopp 8622e0
  	    reparseTag = findDataW.dwReserved0;
Karsten Hopp 8622e0
  	}
Karsten Hopp 8622e0
      }
Karsten Hopp 8622e0
!     else
Karsten Hopp 8622e0
! #endif
Karsten Hopp 8622e0
      {
Karsten Hopp 8622e0
! 	hFind = FindFirstFile(fname, &findDataA);
Karsten Hopp 8622e0
! 	if (hFind != INVALID_HANDLE_VALUE)
Karsten Hopp 8622e0
! 	{
Karsten Hopp 8622e0
! 	    fileFlags = findDataA.dwFileAttributes;
Karsten Hopp 8622e0
! 	    reparseTag = findDataA.dwReserved0;
Karsten Hopp 8622e0
! 	}
Karsten Hopp 8622e0
      }
Karsten Hopp 8622e0
  
Karsten Hopp 8622e0
      if (hFind != INVALID_HANDLE_VALUE)
Karsten Hopp 8622e0
  	FindClose(hFind);
Karsten Hopp 8622e0
*** ../vim-7.3.1209/src/version.c	2013-06-16 16:13:59.000000000 +0200
Karsten Hopp 8622e0
--- src/version.c	2013-06-16 16:31:14.000000000 +0200
Karsten Hopp 8622e0
***************
Karsten Hopp 8622e0
*** 730,731 ****
Karsten Hopp 8622e0
--- 730,733 ----
Karsten Hopp 8622e0
  {   /* Add new patch number below this line */
Karsten Hopp 8622e0
+ /**/
Karsten Hopp 8622e0
+     1210,
Karsten Hopp 8622e0
  /**/
Karsten Hopp 8622e0
Karsten Hopp 8622e0
-- 
Karsten Hopp 8622e0
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 8622e0
233. You start dreaming about web pages...in html.
Karsten Hopp 8622e0
Karsten Hopp 8622e0
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 8622e0
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 8622e0
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 8622e0
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///