]> granicus.if.org Git - vim/commitdiff
updated for version 7.2.344 v7.2.344
authorBram Moolenaar <Bram@vim.org>
Wed, 20 Jan 2010 20:41:47 +0000 (21:41 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 20 Jan 2010 20:41:47 +0000 (21:41 +0100)
Problem:    Can't compile on some systems
Solution:   Move the #ifdef outside of the mch_open macro. (Patrick Texier)

src/ex_cmds2.c
src/version.c

index bcdf2872322e4a4e9c1c3c22a5fd61d66c6418e7..81feac83571676e3229e3b0f5af6a2eb83defd0f 100644 (file)
@@ -2814,11 +2814,11 @@ static FILE *fopen_noinh_readbin __ARGS((char *filename));
 fopen_noinh_readbin(filename)
     char    *filename;
 {
-    int        fd_tmp = mch_open(filename, O_RDONLY
 # ifdef WIN32
-                         | O_BINARY | O_NOINHERIT
+    int        fd_tmp = mch_open(filename, O_RDONLY | O_BINARY | O_NOINHERIT, 0);
+# else
+    int        fd_tmp = mch_open(filename, O_RDONLY, 0);
 # endif
-                         , 0);
 
     if (fd_tmp == -1)
        return NULL;
index 41d099da535e01abfaf64133f55328c9598870e3..00c77babd19e048527ca243a83ff4317557b3ea8 100644 (file)
@@ -681,6 +681,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    344,
 /**/
     343,
 /**/