|
Karsten Hopp |
3f7ecb |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
3f7ecb |
Subject: Patch 7.3.571
|
|
Karsten Hopp |
3f7ecb |
Fcc: outbox
|
|
Karsten Hopp |
3f7ecb |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
3f7ecb |
Mime-Version: 1.0
|
|
Karsten Hopp |
3f7ecb |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
3f7ecb |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
3f7ecb |
------------
|
|
Karsten Hopp |
3f7ecb |
|
|
Karsten Hopp |
3f7ecb |
Patch 7.3.571
|
|
Karsten Hopp |
3f7ecb |
Problem: Duplicated condition.
|
|
Karsten Hopp |
3f7ecb |
Solution: Remove one. (Dominique Pelle)
|
|
Karsten Hopp |
3f7ecb |
Files: src/os_win32.c
|
|
Karsten Hopp |
3f7ecb |
|
|
Karsten Hopp |
3f7ecb |
|
|
Karsten Hopp |
3f7ecb |
*** ../vim-7.3.570/src/os_win32.c 2012-02-29 13:58:43.000000000 +0100
|
|
Karsten Hopp |
3f7ecb |
--- src/os_win32.c 2012-06-29 13:10:54.000000000 +0200
|
|
Karsten Hopp |
3f7ecb |
***************
|
|
Karsten Hopp |
3f7ecb |
*** 308,314 ****
|
|
Karsten Hopp |
3f7ecb |
# ifndef GETTEXT_DLL
|
|
Karsten Hopp |
3f7ecb |
# define GETTEXT_DLL "libintl.dll"
|
|
Karsten Hopp |
3f7ecb |
# endif
|
|
Karsten Hopp |
3f7ecb |
! /* Dummy funcitons */
|
|
Karsten Hopp |
3f7ecb |
static char *null_libintl_gettext(const char *);
|
|
Karsten Hopp |
3f7ecb |
static char *null_libintl_textdomain(const char *);
|
|
Karsten Hopp |
3f7ecb |
static char *null_libintl_bindtextdomain(const char *, const char *);
|
|
Karsten Hopp |
3f7ecb |
--- 308,314 ----
|
|
Karsten Hopp |
3f7ecb |
# ifndef GETTEXT_DLL
|
|
Karsten Hopp |
3f7ecb |
# define GETTEXT_DLL "libintl.dll"
|
|
Karsten Hopp |
3f7ecb |
# endif
|
|
Karsten Hopp |
3f7ecb |
! /* Dummy functions */
|
|
Karsten Hopp |
3f7ecb |
static char *null_libintl_gettext(const char *);
|
|
Karsten Hopp |
3f7ecb |
static char *null_libintl_textdomain(const char *);
|
|
Karsten Hopp |
3f7ecb |
static char *null_libintl_bindtextdomain(const char *, const char *);
|
|
Karsten Hopp |
3f7ecb |
***************
|
|
Karsten Hopp |
3f7ecb |
*** 1409,1415 ****
|
|
Karsten Hopp |
3f7ecb |
|
|
Karsten Hopp |
3f7ecb |
|
|
Karsten Hopp |
3f7ecb |
/*
|
|
Karsten Hopp |
3f7ecb |
! * mch_inchar(): low-level input funcion.
|
|
Karsten Hopp |
3f7ecb |
* Get one or more characters from the keyboard or the mouse.
|
|
Karsten Hopp |
3f7ecb |
* If time == 0, do not wait for characters.
|
|
Karsten Hopp |
3f7ecb |
* If time == n, wait a short time for characters.
|
|
Karsten Hopp |
3f7ecb |
--- 1409,1415 ----
|
|
Karsten Hopp |
3f7ecb |
|
|
Karsten Hopp |
3f7ecb |
|
|
Karsten Hopp |
3f7ecb |
/*
|
|
Karsten Hopp |
3f7ecb |
! * mch_inchar(): low-level input function.
|
|
Karsten Hopp |
3f7ecb |
* Get one or more characters from the keyboard or the mouse.
|
|
Karsten Hopp |
3f7ecb |
* If time == 0, do not wait for characters.
|
|
Karsten Hopp |
3f7ecb |
* If time == n, wait a short time for characters.
|
|
Karsten Hopp |
3f7ecb |
***************
|
|
Karsten Hopp |
3f7ecb |
*** 3451,3464 ****
|
|
Karsten Hopp |
3f7ecb |
* to avoid to perform a blocking read */
|
|
Karsten Hopp |
3f7ecb |
ret = PeekNamedPipe(g_hChildStd_OUT_Rd, /* pipe to query */
|
|
Karsten Hopp |
3f7ecb |
NULL, /* optional buffer */
|
|
Karsten Hopp |
3f7ecb |
! 0, /* buffe size */
|
|
Karsten Hopp |
3f7ecb |
NULL, /* number of read bytes */
|
|
Karsten Hopp |
3f7ecb |
&availableBytes, /* available bytes total */
|
|
Karsten Hopp |
3f7ecb |
NULL); /* byteLeft */
|
|
Karsten Hopp |
3f7ecb |
|
|
Karsten Hopp |
3f7ecb |
repeatCount = 0;
|
|
Karsten Hopp |
3f7ecb |
/* We got real data in the pipe, read it */
|
|
Karsten Hopp |
3f7ecb |
! while (ret != 0 && availableBytes > 0 && availableBytes > 0)
|
|
Karsten Hopp |
3f7ecb |
{
|
|
Karsten Hopp |
3f7ecb |
repeatCount++;
|
|
Karsten Hopp |
3f7ecb |
toRead =
|
|
Karsten Hopp |
3f7ecb |
--- 3451,3464 ----
|
|
Karsten Hopp |
3f7ecb |
* to avoid to perform a blocking read */
|
|
Karsten Hopp |
3f7ecb |
ret = PeekNamedPipe(g_hChildStd_OUT_Rd, /* pipe to query */
|
|
Karsten Hopp |
3f7ecb |
NULL, /* optional buffer */
|
|
Karsten Hopp |
3f7ecb |
! 0, /* buffer size */
|
|
Karsten Hopp |
3f7ecb |
NULL, /* number of read bytes */
|
|
Karsten Hopp |
3f7ecb |
&availableBytes, /* available bytes total */
|
|
Karsten Hopp |
3f7ecb |
NULL); /* byteLeft */
|
|
Karsten Hopp |
3f7ecb |
|
|
Karsten Hopp |
3f7ecb |
repeatCount = 0;
|
|
Karsten Hopp |
3f7ecb |
/* We got real data in the pipe, read it */
|
|
Karsten Hopp |
3f7ecb |
! while (ret != 0 && availableBytes > 0)
|
|
Karsten Hopp |
3f7ecb |
{
|
|
Karsten Hopp |
3f7ecb |
repeatCount++;
|
|
Karsten Hopp |
3f7ecb |
toRead =
|
|
Karsten Hopp |
3f7ecb |
***************
|
|
Karsten Hopp |
3f7ecb |
*** 3638,3644 ****
|
|
Karsten Hopp |
3f7ecb |
NULL, /* Process security attributes */
|
|
Karsten Hopp |
3f7ecb |
NULL, /* Thread security attributes */
|
|
Karsten Hopp |
3f7ecb |
|
|
Karsten Hopp |
3f7ecb |
! // this command can be litigeous, handle inheritence was
|
|
Karsten Hopp |
3f7ecb |
// deactivated for pending temp file, but, if we deactivate
|
|
Karsten Hopp |
3f7ecb |
// it, the pipes don't work for some reason.
|
|
Karsten Hopp |
3f7ecb |
TRUE, /* Inherit handles, first deactivated,
|
|
Karsten Hopp |
3f7ecb |
--- 3638,3644 ----
|
|
Karsten Hopp |
3f7ecb |
NULL, /* Process security attributes */
|
|
Karsten Hopp |
3f7ecb |
NULL, /* Thread security attributes */
|
|
Karsten Hopp |
3f7ecb |
|
|
Karsten Hopp |
3f7ecb |
! // this command can be litigious, handle inheritance was
|
|
Karsten Hopp |
3f7ecb |
// deactivated for pending temp file, but, if we deactivate
|
|
Karsten Hopp |
3f7ecb |
// it, the pipes don't work for some reason.
|
|
Karsten Hopp |
3f7ecb |
TRUE, /* Inherit handles, first deactivated,
|
|
Karsten Hopp |
3f7ecb |
*** ../vim-7.3.570/src/version.c 2012-06-29 12:57:03.000000000 +0200
|
|
Karsten Hopp |
3f7ecb |
--- src/version.c 2012-06-29 13:12:31.000000000 +0200
|
|
Karsten Hopp |
3f7ecb |
***************
|
|
Karsten Hopp |
3f7ecb |
*** 716,717 ****
|
|
Karsten Hopp |
3f7ecb |
--- 716,719 ----
|
|
Karsten Hopp |
3f7ecb |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
3f7ecb |
+ /**/
|
|
Karsten Hopp |
3f7ecb |
+ 571,
|
|
Karsten Hopp |
3f7ecb |
/**/
|
|
Karsten Hopp |
3f7ecb |
|
|
Karsten Hopp |
3f7ecb |
--
|
|
Karsten Hopp |
3f7ecb |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
3f7ecb |
71. You wonder how people walk
|
|
Karsten Hopp |
3f7ecb |
|
|
Karsten Hopp |
3f7ecb |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
3f7ecb |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
3f7ecb |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
3f7ecb |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|