|
Karsten Hopp |
fc1d4c |
To: vim-dev@vim.org
|
|
Karsten Hopp |
fc1d4c |
Subject: patch 7.1.108
|
|
Karsten Hopp |
fc1d4c |
Fcc: outbox
|
|
Karsten Hopp |
fc1d4c |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
fc1d4c |
Mime-Version: 1.0
|
|
Karsten Hopp |
fc1d4c |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
fc1d4c |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
fc1d4c |
------------
|
|
Karsten Hopp |
fc1d4c |
|
|
Karsten Hopp |
fc1d4c |
Patch 7.1.108 (after 7.1.100)
|
|
Karsten Hopp |
fc1d4c |
Problem: Win32: Compilation problems in Cscope code. (Jeff Lanzarotta)
|
|
Karsten Hopp |
fc1d4c |
Solution: Use (long) instead of (intptr_t) when it's not defined.
|
|
Karsten Hopp |
fc1d4c |
Files: src/if_cscope.c
|
|
Karsten Hopp |
fc1d4c |
|
|
Karsten Hopp |
fc1d4c |
|
|
Karsten Hopp |
fc1d4c |
*** ../vim-7.1.107/src/if_cscope.c Thu Sep 6 17:38:06 2007
|
|
Karsten Hopp |
fc1d4c |
--- src/if_cscope.c Wed Sep 12 20:32:17 2007
|
|
Karsten Hopp |
fc1d4c |
***************
|
|
Karsten Hopp |
fc1d4c |
*** 726,731 ****
|
|
Karsten Hopp |
fc1d4c |
--- 726,740 ----
|
|
Karsten Hopp |
fc1d4c |
HANDLE stdin_rd, stdout_rd;
|
|
Karsten Hopp |
fc1d4c |
HANDLE stdout_wr, stdin_wr;
|
|
Karsten Hopp |
fc1d4c |
BOOL created;
|
|
Karsten Hopp |
fc1d4c |
+ # ifdef __BORLANDC__
|
|
Karsten Hopp |
fc1d4c |
+ # define OPEN_OH_ARGTYPE long
|
|
Karsten Hopp |
fc1d4c |
+ # else
|
|
Karsten Hopp |
fc1d4c |
+ # if (_MSC_VER >= 1300)
|
|
Karsten Hopp |
fc1d4c |
+ # define OPEN_OH_ARGTYPE intptr_t
|
|
Karsten Hopp |
fc1d4c |
+ # else
|
|
Karsten Hopp |
fc1d4c |
+ # define OPEN_OH_ARGTYPE long
|
|
Karsten Hopp |
fc1d4c |
+ # endif
|
|
Karsten Hopp |
fc1d4c |
+ # endif
|
|
Karsten Hopp |
fc1d4c |
#endif
|
|
Karsten Hopp |
fc1d4c |
|
|
Karsten Hopp |
fc1d4c |
#if defined(UNIX)
|
|
Karsten Hopp |
fc1d4c |
***************
|
|
Karsten Hopp |
fc1d4c |
*** 909,918 ****
|
|
Karsten Hopp |
fc1d4c |
CloseHandle(pi.hThread);
|
|
Karsten Hopp |
fc1d4c |
|
|
Karsten Hopp |
fc1d4c |
/* TODO - tidy up after failure to create files on pipe handles. */
|
|
Karsten Hopp |
fc1d4c |
! if (((fd = _open_osfhandle((intptr_t)stdin_wr, _O_TEXT|_O_APPEND)) < 0)
|
|
Karsten Hopp |
fc1d4c |
|| ((csinfo[i].to_fp = _fdopen(fd, "w")) == NULL))
|
|
Karsten Hopp |
fc1d4c |
PERROR(_("cs_create_connection: fdopen for to_fp failed"));
|
|
Karsten Hopp |
fc1d4c |
! if (((fd = _open_osfhandle((intptr_t)stdout_rd, _O_TEXT|_O_RDONLY)) < 0)
|
|
Karsten Hopp |
fc1d4c |
|| ((csinfo[i].fr_fp = _fdopen(fd, "r")) == NULL))
|
|
Karsten Hopp |
fc1d4c |
PERROR(_("cs_create_connection: fdopen for fr_fp failed"));
|
|
Karsten Hopp |
fc1d4c |
|
|
Karsten Hopp |
fc1d4c |
--- 918,929 ----
|
|
Karsten Hopp |
fc1d4c |
CloseHandle(pi.hThread);
|
|
Karsten Hopp |
fc1d4c |
|
|
Karsten Hopp |
fc1d4c |
/* TODO - tidy up after failure to create files on pipe handles. */
|
|
Karsten Hopp |
fc1d4c |
! if (((fd = _open_osfhandle((OPEN_OH_ARGTYPE)stdin_wr,
|
|
Karsten Hopp |
fc1d4c |
! _O_TEXT|_O_APPEND)) < 0)
|
|
Karsten Hopp |
fc1d4c |
|| ((csinfo[i].to_fp = _fdopen(fd, "w")) == NULL))
|
|
Karsten Hopp |
fc1d4c |
PERROR(_("cs_create_connection: fdopen for to_fp failed"));
|
|
Karsten Hopp |
fc1d4c |
! if (((fd = _open_osfhandle((OPEN_OH_ARGTYPE)stdout_rd,
|
|
Karsten Hopp |
fc1d4c |
! _O_TEXT|_O_RDONLY)) < 0)
|
|
Karsten Hopp |
fc1d4c |
|| ((csinfo[i].fr_fp = _fdopen(fd, "r")) == NULL))
|
|
Karsten Hopp |
fc1d4c |
PERROR(_("cs_create_connection: fdopen for fr_fp failed"));
|
|
Karsten Hopp |
fc1d4c |
|
|
Karsten Hopp |
fc1d4c |
*** ../vim-7.1.107/src/version.c Thu Sep 13 22:40:47 2007
|
|
Karsten Hopp |
fc1d4c |
--- src/version.c Fri Sep 14 19:55:12 2007
|
|
Karsten Hopp |
fc1d4c |
***************
|
|
Karsten Hopp |
fc1d4c |
*** 668,669 ****
|
|
Karsten Hopp |
fc1d4c |
--- 668,671 ----
|
|
Karsten Hopp |
fc1d4c |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
fc1d4c |
+ /**/
|
|
Karsten Hopp |
fc1d4c |
+ 108,
|
|
Karsten Hopp |
fc1d4c |
/**/
|
|
Karsten Hopp |
fc1d4c |
|
|
Karsten Hopp |
fc1d4c |
--
|
|
Karsten Hopp |
fc1d4c |
Q: How many hardware engineers does it take to change a lightbulb?
|
|
Karsten Hopp |
fc1d4c |
A: None. We'll fix it in software.
|
|
Karsten Hopp |
fc1d4c |
|
|
Karsten Hopp |
fc1d4c |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
fc1d4c |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
fc1d4c |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
fc1d4c |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|