1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Can't compile with MSVC and tiny options.
12 Solution: Move variables and #ifdefs. (Sergey Khorev)
16 *** ../vim-7.3.286/src/os_win32.c 2011-08-10 17:07:56.000000000 +0200
17 --- src/os_win32.c 2011-08-27 15:07:28.000000000 +0200
21 DWORD availableBytes = 0;
46 DWORD buffer_off = 0; /* valid bytes in buffer[] */
49 SECURITY_ATTRIBUTES saAttr;
55 if (WaitForSingleObject(pi.hProcess, delay) != WAIT_TIMEOUT)
57 ! dump_pipe(options, g_hChildStd_OUT_Rd,
58 ! &ga, buffer, &buffer_off);
63 ! dump_pipe(options, g_hChildStd_OUT_Rd,
64 ! &ga, buffer, &buffer_off);
66 /* We start waiting for a very short time and then increase it, so
67 * that we respond quickly when the process is quick, and don't
70 if (WaitForSingleObject(pi.hProcess, delay) != WAIT_TIMEOUT)
72 ! dump_pipe(options, g_hChildStd_OUT_Rd, &ga, buffer, &buffer_off);
77 ! dump_pipe(options, g_hChildStd_OUT_Rd, &ga, buffer, &buffer_off);
79 /* We start waiting for a very short time and then increase it, so
80 * that we respond quickly when the process is quick, and don't
81 *** ../vim-7.3.286/src/version.c 2011-08-26 16:12:55.000000000 +0200
82 --- src/version.c 2011-08-27 15:08:27.000000000 +0200
86 { /* Add new patch number below this line */
92 SUPERIMPOSE "England AD 787". After a few more seconds we hear hoofbeats in
93 the distance. They come slowly closer. Then out of the mist comes KING
94 ARTHUR followed by a SERVANT who is banging two half coconuts together.
95 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
97 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
98 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
99 \\\ an exciting new programming language -- http://www.Zimbu.org ///
100 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///