0
0
mirror of https://github.com/vim/vim.git synced 2025-10-13 06:54:15 -04:00

updated for version 7.1-108

This commit is contained in:
Bram Moolenaar
2007-09-14 17:56:59 +00:00
parent 53241daeba
commit 5365c4d590
2 changed files with 15 additions and 2 deletions

View File

@@ -726,6 +726,15 @@ cs_create_connection(i)
HANDLE stdin_rd, stdout_rd; HANDLE stdin_rd, stdout_rd;
HANDLE stdout_wr, stdin_wr; HANDLE stdout_wr, stdin_wr;
BOOL created; BOOL created;
# ifdef __BORLANDC__
# define OPEN_OH_ARGTYPE long
# else
# if (_MSC_VER >= 1300)
# define OPEN_OH_ARGTYPE intptr_t
# else
# define OPEN_OH_ARGTYPE long
# endif
# endif
#endif #endif
#if defined(UNIX) #if defined(UNIX)
@@ -909,10 +918,12 @@ err_closing:
CloseHandle(pi.hThread); CloseHandle(pi.hThread);
/* TODO - tidy up after failure to create files on pipe handles. */ /* TODO - tidy up after failure to create files on pipe handles. */
if (((fd = _open_osfhandle((intptr_t)stdin_wr, _O_TEXT|_O_APPEND)) < 0) if (((fd = _open_osfhandle((OPEN_OH_ARGTYPE)stdin_wr,
_O_TEXT|_O_APPEND)) < 0)
|| ((csinfo[i].to_fp = _fdopen(fd, "w")) == NULL)) || ((csinfo[i].to_fp = _fdopen(fd, "w")) == NULL))
PERROR(_("cs_create_connection: fdopen for to_fp failed")); PERROR(_("cs_create_connection: fdopen for to_fp failed"));
if (((fd = _open_osfhandle((intptr_t)stdout_rd, _O_TEXT|_O_RDONLY)) < 0) if (((fd = _open_osfhandle((OPEN_OH_ARGTYPE)stdout_rd,
_O_TEXT|_O_RDONLY)) < 0)
|| ((csinfo[i].fr_fp = _fdopen(fd, "r")) == NULL)) || ((csinfo[i].fr_fp = _fdopen(fd, "r")) == NULL))
PERROR(_("cs_create_connection: fdopen for fr_fp failed")); PERROR(_("cs_create_connection: fdopen for fr_fp failed"));

View File

@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
108,
/**/ /**/
107, 107,
/**/ /**/