|
Karsten Hopp |
64a814 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
64a814 |
Subject: Patch 7.2.344
|
|
Karsten Hopp |
64a814 |
Fcc: outbox
|
|
Karsten Hopp |
64a814 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
64a814 |
Mime-Version: 1.0
|
|
Karsten Hopp |
64a814 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
64a814 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
64a814 |
------------
|
|
Karsten Hopp |
64a814 |
|
|
Karsten Hopp |
64a814 |
Patch 7.2.344 (after 7.2.343)
|
|
Karsten Hopp |
64a814 |
Problem: Can't compile on some systems
|
|
Karsten Hopp |
64a814 |
Solution: Move the #ifdef outside of the mch_open macro. (Patrick Texier)
|
|
Karsten Hopp |
64a814 |
Files: src/ex_cmds2.c
|
|
Karsten Hopp |
64a814 |
|
|
Karsten Hopp |
64a814 |
|
|
Karsten Hopp |
64a814 |
*** ../vim-7.2.343/src/ex_cmds2.c 2010-01-19 23:25:18.000000000 +0100
|
|
Karsten Hopp |
64a814 |
--- src/ex_cmds2.c 2010-01-20 21:38:19.000000000 +0100
|
|
Karsten Hopp |
64a814 |
***************
|
|
Karsten Hopp |
64a814 |
*** 2814,2824 ****
|
|
Karsten Hopp |
64a814 |
fopen_noinh_readbin(filename)
|
|
Karsten Hopp |
64a814 |
char *filename;
|
|
Karsten Hopp |
64a814 |
{
|
|
Karsten Hopp |
64a814 |
- int fd_tmp = mch_open(filename, O_RDONLY
|
|
Karsten Hopp |
64a814 |
# ifdef WIN32
|
|
Karsten Hopp |
64a814 |
! | O_BINARY | O_NOINHERIT
|
|
Karsten Hopp |
64a814 |
# endif
|
|
Karsten Hopp |
64a814 |
- , 0);
|
|
Karsten Hopp |
64a814 |
|
|
Karsten Hopp |
64a814 |
if (fd_tmp == -1)
|
|
Karsten Hopp |
64a814 |
return NULL;
|
|
Karsten Hopp |
64a814 |
--- 2814,2824 ----
|
|
Karsten Hopp |
64a814 |
fopen_noinh_readbin(filename)
|
|
Karsten Hopp |
64a814 |
char *filename;
|
|
Karsten Hopp |
64a814 |
{
|
|
Karsten Hopp |
64a814 |
# ifdef WIN32
|
|
Karsten Hopp |
64a814 |
! int fd_tmp = mch_open(filename, O_RDONLY | O_BINARY | O_NOINHERIT, 0);
|
|
Karsten Hopp |
64a814 |
! # else
|
|
Karsten Hopp |
64a814 |
! int fd_tmp = mch_open(filename, O_RDONLY, 0);
|
|
Karsten Hopp |
64a814 |
# endif
|
|
Karsten Hopp |
64a814 |
|
|
Karsten Hopp |
64a814 |
if (fd_tmp == -1)
|
|
Karsten Hopp |
64a814 |
return NULL;
|
|
Karsten Hopp |
64a814 |
*** ../vim-7.2.343/src/version.c 2010-01-19 23:25:18.000000000 +0100
|
|
Karsten Hopp |
64a814 |
--- src/version.c 2010-01-20 21:38:23.000000000 +0100
|
|
Karsten Hopp |
64a814 |
***************
|
|
Karsten Hopp |
64a814 |
*** 683,684 ****
|
|
Karsten Hopp |
64a814 |
--- 683,686 ----
|
|
Karsten Hopp |
64a814 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
64a814 |
+ /**/
|
|
Karsten Hopp |
64a814 |
+ 344,
|
|
Karsten Hopp |
64a814 |
/**/
|
|
Karsten Hopp |
64a814 |
|
|
Karsten Hopp |
64a814 |
--
|
|
Karsten Hopp |
64a814 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
64a814 |
128. You can access the Net -- via your portable and cellular phone.
|
|
Karsten Hopp |
64a814 |
|
|
Karsten Hopp |
64a814 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
64a814 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
64a814 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
64a814 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|