]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.064
- updated to 7.1.285
[packages/vim.git] / 7.1.064
1 To: vim-dev@vim.org
2 Subject: patch 7.1.064
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.1.064
11 Problem:    On Interix some files appear not to exist.
12 Solution:   Remove the top bit from st_mode. (Ligesh)
13 Files:      src/os_unix.c
14
15
16 *** ../vim-7.1.063/src/os_unix.c        Thu May 10 19:42:47 2007
17 --- src/os_unix.c       Fri Aug 10 19:32:20 2007
18 ***************
19 *** 2499,2505 ****
20 --- 2499,2511 ----
21       if (stat((char *)name, &statb))
22   #endif
23         return -1;
24 + #ifdef __INTERIX
25 +     /* The top bit makes the value negative, which means the file doesn't
26 +      * exist.  Remove the bit, we don't use it. */
27 +     return statb.st_mode & ~S_ADDACE;
28 + #else
29       return statb.st_mode;
30 + #endif
31   }
32   
33   /*
34 *** ../vim-7.1.063/src/version.c        Sat Aug 11 15:59:44 2007
35 --- src/version.c       Sat Aug 11 22:21:35 2007
36 ***************
37 *** 668,669 ****
38 --- 668,671 ----
39   {   /* Add new patch number below this line */
40 + /**/
41 +     64,
42   /**/
43
44 -- 
45 I have a watch cat! Just break in and she'll watch.
46
47  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
48 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
49 \\\        download, build and distribute -- http://www.A-A-P.org        ///
50  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.02563 seconds and 3 git commands to generate.