devel/vim 7.1.064,NONE,1.1

Karsten Hopp (karsten) fedora-extras-commits at redhat.com
Mon Aug 13 11:50:02 UTC 2007


Author: karsten

Update of /cvs/extras/devel/vim
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29562

Added Files:
	7.1.064 
Log Message:
patchlevel 64


--- NEW FILE 7.1.064 ---
To: vim-dev at vim.org
Subject: patch 7.1.064
Fcc: outbox
From: Bram Moolenaar <Bram at moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 7.1.064
Problem:    On Interix some files appear not to exist.
Solution:   Remove the top bit from st_mode. (Ligesh)
Files:	    src/os_unix.c


*** ../vim-7.1.063/src/os_unix.c	Thu May 10 19:42:47 2007
--- src/os_unix.c	Fri Aug 10 19:32:20 2007
***************
*** 2499,2505 ****
--- 2499,2511 ----
      if (stat((char *)name, &statb))
  #endif
  	return -1;
+ #ifdef __INTERIX
+     /* The top bit makes the value negative, which means the file doesn't
+      * exist.  Remove the bit, we don't use it. */
+     return statb.st_mode & ~S_ADDACE;
+ #else
      return statb.st_mode;
+ #endif
  }
  
  /*
*** ../vim-7.1.063/src/version.c	Sat Aug 11 15:59:44 2007
--- src/version.c	Sat Aug 11 22:21:35 2007
***************
*** 668,669 ****
--- 668,671 ----
  {   /* Add new patch number below this line */
+ /**/
+     64,
  /**/

-- 
I have a watch cat! Just break in and she'll watch.

 /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///




More information about the fedora-extras-commits mailing list