]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.011
- initial import
[packages/vim.git] / 6.2.011
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.011
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 6.2.011
11 Problem:    Alpha OSF1: stat() is a macro and doesn't allow an #ifdef halfway.
12             (Moshe Kaminsky)
13 Solution:   Move the #ifdef outside of stat().
14 Files:      src/os_unix.c
15
16
17 *** ../vim-6.2.010/src/os_unix.c        Wed May 28 22:45:05 2003
18 --- src/os_unix.c       Tue Jun  3 21:52:44 2003
19 ***************
20 *** 2225,2237 ****
21   {
22       struct stat statb;
23   
24 !     if (stat((char *)
25   #ifdef VMS
26 !                   vms_fixfilename(name),
27   #else
28 !                   name,
29   #endif
30 -                   &statb))
31         return -1;
32       return statb.st_mode;
33   }
34 --- 2225,2236 ----
35   {
36       struct stat statb;
37   
38 !     /* Keep the #ifdef outside of stat(), it may be a macro. */
39   #ifdef VMS
40 !     if (stat((char *)vms_fixfilename(name), &statb))
41   #else
42 !     if (stat((char *)name, &statb))
43   #endif
44         return -1;
45       return statb.st_mode;
46   }
47 *** ../vim-6.2.010/src/version.c        Tue Jun  3 22:29:09 2003
48 --- src/version.c       Tue Jun  3 23:13:02 2003
49 ***************
50 *** 632,633 ****
51 --- 632,635 ----
52   {   /* Add new patch number below this line */
53 + /**/
54 +     11,
55   /**/
56
57 -- 
58 From "know your smileys":
59  :~)    A man with a tape recorder up his nose
60
61  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
62 ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
63 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
64  \\\     Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
This page took 0.026951 seconds and 3 git commands to generate.