|
Karsten Hopp |
c1a4cb |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
c1a4cb |
Subject: Patch 7.3.287
|
|
Karsten Hopp |
c1a4cb |
Fcc: outbox
|
|
Karsten Hopp |
c1a4cb |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
c1a4cb |
Mime-Version: 1.0
|
|
Karsten Hopp |
c1a4cb |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
c1a4cb |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
c1a4cb |
------------
|
|
Karsten Hopp |
c1a4cb |
|
|
Karsten Hopp |
c1a4cb |
Patch 7.3.287
|
|
Karsten Hopp |
c1a4cb |
Problem: Can't compile with MSVC and tiny options.
|
|
Karsten Hopp |
c1a4cb |
Solution: Move variables and #ifdefs. (Sergey Khorev)
|
|
Karsten Hopp |
c1a4cb |
Files: src/os_win32.c
|
|
Karsten Hopp |
c1a4cb |
|
|
Karsten Hopp |
c1a4cb |
|
|
Karsten Hopp |
c1a4cb |
*** ../vim-7.3.286/src/os_win32.c 2011-08-10 17:07:56.000000000 +0200
|
|
Karsten Hopp |
c1a4cb |
--- src/os_win32.c 2011-08-27 15:07:28.000000000 +0200
|
|
Karsten Hopp |
c1a4cb |
***************
|
|
Karsten Hopp |
c1a4cb |
*** 3419,3426 ****
|
|
Karsten Hopp |
c1a4cb |
{
|
|
Karsten Hopp |
c1a4cb |
DWORD availableBytes = 0;
|
|
Karsten Hopp |
c1a4cb |
DWORD i;
|
|
Karsten Hopp |
c1a4cb |
- int c;
|
|
Karsten Hopp |
c1a4cb |
- char_u *p;
|
|
Karsten Hopp |
c1a4cb |
int ret;
|
|
Karsten Hopp |
c1a4cb |
DWORD len;
|
|
Karsten Hopp |
c1a4cb |
DWORD toRead;
|
|
Karsten Hopp |
c1a4cb |
--- 3419,3424 ----
|
|
Karsten Hopp |
c1a4cb |
***************
|
|
Karsten Hopp |
c1a4cb |
*** 3479,3484 ****
|
|
Karsten Hopp |
c1a4cb |
--- 3477,3484 ----
|
|
Karsten Hopp |
c1a4cb |
else if (has_mbyte)
|
|
Karsten Hopp |
c1a4cb |
{
|
|
Karsten Hopp |
c1a4cb |
int l;
|
|
Karsten Hopp |
c1a4cb |
+ int c;
|
|
Karsten Hopp |
c1a4cb |
+ char_u *p;
|
|
Karsten Hopp |
c1a4cb |
|
|
Karsten Hopp |
c1a4cb |
len += *buffer_off;
|
|
Karsten Hopp |
c1a4cb |
buffer[len] = NUL;
|
|
Karsten Hopp |
c1a4cb |
***************
|
|
Karsten Hopp |
c1a4cb |
*** 3558,3566 ****
|
|
Karsten Hopp |
c1a4cb |
int noread_cnt = 0;
|
|
Karsten Hopp |
c1a4cb |
garray_T ga;
|
|
Karsten Hopp |
c1a4cb |
int delay = 1;
|
|
Karsten Hopp |
c1a4cb |
- # ifdef FEAT_MBYTE
|
|
Karsten Hopp |
c1a4cb |
DWORD buffer_off = 0; /* valid bytes in buffer[] */
|
|
Karsten Hopp |
c1a4cb |
- # endif
|
|
Karsten Hopp |
c1a4cb |
|
|
Karsten Hopp |
c1a4cb |
SECURITY_ATTRIBUTES saAttr;
|
|
Karsten Hopp |
c1a4cb |
|
|
Karsten Hopp |
c1a4cb |
--- 3558,3564 ----
|
|
Karsten Hopp |
c1a4cb |
***************
|
|
Karsten Hopp |
c1a4cb |
*** 3777,3790 ****
|
|
Karsten Hopp |
c1a4cb |
|
|
Karsten Hopp |
c1a4cb |
if (WaitForSingleObject(pi.hProcess, delay) != WAIT_TIMEOUT)
|
|
Karsten Hopp |
c1a4cb |
{
|
|
Karsten Hopp |
c1a4cb |
! dump_pipe(options, g_hChildStd_OUT_Rd,
|
|
Karsten Hopp |
c1a4cb |
! &ga, buffer, &buffer_off);
|
|
Karsten Hopp |
c1a4cb |
break;
|
|
Karsten Hopp |
c1a4cb |
}
|
|
Karsten Hopp |
c1a4cb |
|
|
Karsten Hopp |
c1a4cb |
++noread_cnt;
|
|
Karsten Hopp |
c1a4cb |
! dump_pipe(options, g_hChildStd_OUT_Rd,
|
|
Karsten Hopp |
c1a4cb |
! &ga, buffer, &buffer_off);
|
|
Karsten Hopp |
c1a4cb |
|
|
Karsten Hopp |
c1a4cb |
/* We start waiting for a very short time and then increase it, so
|
|
Karsten Hopp |
c1a4cb |
* that we respond quickly when the process is quick, and don't
|
|
Karsten Hopp |
c1a4cb |
--- 3775,3786 ----
|
|
Karsten Hopp |
c1a4cb |
|
|
Karsten Hopp |
c1a4cb |
if (WaitForSingleObject(pi.hProcess, delay) != WAIT_TIMEOUT)
|
|
Karsten Hopp |
c1a4cb |
{
|
|
Karsten Hopp |
c1a4cb |
! dump_pipe(options, g_hChildStd_OUT_Rd, &ga, buffer, &buffer_off);
|
|
Karsten Hopp |
c1a4cb |
break;
|
|
Karsten Hopp |
c1a4cb |
}
|
|
Karsten Hopp |
c1a4cb |
|
|
Karsten Hopp |
c1a4cb |
++noread_cnt;
|
|
Karsten Hopp |
c1a4cb |
! dump_pipe(options, g_hChildStd_OUT_Rd, &ga, buffer, &buffer_off);
|
|
Karsten Hopp |
c1a4cb |
|
|
Karsten Hopp |
c1a4cb |
/* We start waiting for a very short time and then increase it, so
|
|
Karsten Hopp |
c1a4cb |
* that we respond quickly when the process is quick, and don't
|
|
Karsten Hopp |
c1a4cb |
*** ../vim-7.3.286/src/version.c 2011-08-26 16:12:55.000000000 +0200
|
|
Karsten Hopp |
c1a4cb |
--- src/version.c 2011-08-27 15:08:27.000000000 +0200
|
|
Karsten Hopp |
c1a4cb |
***************
|
|
Karsten Hopp |
c1a4cb |
*** 711,712 ****
|
|
Karsten Hopp |
c1a4cb |
--- 711,714 ----
|
|
Karsten Hopp |
c1a4cb |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
c1a4cb |
+ /**/
|
|
Karsten Hopp |
c1a4cb |
+ 287,
|
|
Karsten Hopp |
c1a4cb |
/**/
|
|
Karsten Hopp |
c1a4cb |
|
|
Karsten Hopp |
c1a4cb |
--
|
|
Karsten Hopp |
c1a4cb |
SUPERIMPOSE "England AD 787". After a few more seconds we hear hoofbeats in
|
|
Karsten Hopp |
c1a4cb |
the distance. They come slowly closer. Then out of the mist comes KING
|
|
Karsten Hopp |
c1a4cb |
ARTHUR followed by a SERVANT who is banging two half coconuts together.
|
|
Karsten Hopp |
c1a4cb |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
c1a4cb |
|
|
Karsten Hopp |
c1a4cb |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
c1a4cb |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
c1a4cb |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
c1a4cb |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|