]> git.pld-linux.org Git - packages/vim.git/blob - 7.2.344
- up to 7.2.436
[packages/vim.git] / 7.2.344
1 To: vim-dev@vim.org
2 Subject: Patch 7.2.344
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.2.344 (after 7.2.343)
11 Problem:    Can't compile on some systems
12 Solution:   Move the #ifdef outside of the mch_open macro. (Patrick Texier)
13 Files:      src/ex_cmds2.c
14
15
16 *** ../vim-7.2.343/src/ex_cmds2.c       2010-01-19 23:25:18.000000000 +0100
17 --- src/ex_cmds2.c      2010-01-20 21:38:19.000000000 +0100
18 ***************
19 *** 2814,2824 ****
20   fopen_noinh_readbin(filename)
21       char    *filename;
22   {
23 -     int       fd_tmp = mch_open(filename, O_RDONLY
24   # ifdef WIN32
25 !                         | O_BINARY | O_NOINHERIT
26   # endif
27 -                         , 0);
28   
29       if (fd_tmp == -1)
30         return NULL;
31 --- 2814,2824 ----
32   fopen_noinh_readbin(filename)
33       char    *filename;
34   {
35   # ifdef WIN32
36 !     int       fd_tmp = mch_open(filename, O_RDONLY | O_BINARY | O_NOINHERIT, 0);
37 ! # else
38 !     int       fd_tmp = mch_open(filename, O_RDONLY, 0);
39   # endif
40   
41       if (fd_tmp == -1)
42         return NULL;
43 *** ../vim-7.2.343/src/version.c        2010-01-19 23:25:18.000000000 +0100
44 --- src/version.c       2010-01-20 21:38:23.000000000 +0100
45 ***************
46 *** 683,684 ****
47 --- 683,686 ----
48   {   /* Add new patch number below this line */
49 + /**/
50 +     344,
51   /**/
52
53 -- 
54 hundred-and-one symptoms of being an internet addict:
55 128. You can access the Net -- via your portable and cellular phone.
56
57  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
58 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
59 \\\        download, build and distribute -- http://www.A-A-P.org        ///
60  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.029691 seconds and 3 git commands to generate.