rpms/vim/devel 6.3.068, NONE, 1.1 README.patches, 1.31, 1.32 vim.spec, 1.66, 1.67

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Mar 31 10:29:52 UTC 2005


Update of /cvs/dist/rpms/vim/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv26799

Modified Files:
	README.patches vim.spec 
Added Files:
	6.3.068 
Log Message:
- pathlevel 68 (can't write when editing symbolic link to compressed file)


--- NEW FILE 6.3.068 ---
To: vim-dev at vim.org
Subject: Patch 6.3.068
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 6.3.068
Problem:    When editing a compressed file xxx.gz which is a symbolic link to
            the actual file a ":write" renames the link.
Solution:   Resolve the link, so that the actual file is renamed and
            compressed.
Files:      runtime/plugin/gzip.vim
    

*** ../vim-6.3.025/runtime/plugin/gzip.vim	Wed Jun  9 14:56:33 2004
--- runtime/plugin/gzip.vim	Thu Mar 24 10:56:30 2005
***************
*** 1,6 ****
  " Vim plugin for editing compressed files.
  " Maintainer: Bram Moolenaar <Bram at vim.org>
! " Last Change: 2004 Jan 12
  
  " Exit quickly when:
  " - this plugin was already loaded
--- 1,6 ----
  " Vim plugin for editing compressed files.
  " Maintainer: Bram Moolenaar <Bram at vim.org>
! " Last Change: 2005 Mar 24
  
  " Exit quickly when:
  " - this plugin was already loaded
***************
*** 113,119 ****
    " don't do anything if the cmd is not supported
    if s:check(a:cmd)
      " Rename the file before compressing it.
!     let nm = expand("<afile>")
      let nmt = s:tempname(nm)
      if rename(nm, nmt) == 0
        call system(a:cmd . " " . nmt)
--- 113,119 ----
    " don't do anything if the cmd is not supported
    if s:check(a:cmd)
      " Rename the file before compressing it.
!     let nm = resolve(expand("<afile>"))
      let nmt = s:tempname(nm)
      if rename(nm, nmt) == 0
        call system(a:cmd . " " . nmt)
*** ../vim-6.3.025/src/version.c	Fri Mar 18 19:21:29 2005
--- src/version.c	Thu Mar 24 10:59:13 2005
***************
*** 643,644 ****
--- 643,646 ----
  {   /* Add new patch number below this line */
+ /**/
+     68,
  /**/

-- 
Are leaders born or made?  And if they're made, can we return them under
warranty?
				(Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\     Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html   ///


Index: README.patches
===================================================================
RCS file: /cvs/dist/rpms/vim/devel/README.patches,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- README.patches	23 Mar 2005 14:52:18 -0000	1.31
+++ README.patches	31 Mar 2005 10:29:50 -0000	1.32
@@ -92,3 +92,4 @@
   4436  6.3.065  there was no digraph for euro in Unicode
   4728  6.3.066  permissions of backup file may be wrong
   2200  6.3.067  (after 6.3.066) newly created file gets execute permission
+  2247  6.3.068  can't write when editing symbolic link to compressed file


Index: vim.spec
===================================================================
RCS file: /cvs/dist/rpms/vim/devel/vim.spec,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- vim.spec	28 Mar 2005 10:56:15 -0000	1.66
+++ vim.spec	31 Mar 2005 10:29:50 -0000	1.67
@@ -21,12 +21,12 @@
 
 %define baseversion 6.3
 %define vimdir vim63
-%define patchlevel 067
+%define patchlevel 068
 
 Summary: The VIM editor.
 Name: vim
 Version: %{baseversion}.%{patchlevel}
-Release: 3
+Release: 1
 License: freeware
 Group: Applications/Editors
 Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2
@@ -118,6 +118,7 @@
 Patch065: ftp://ftp.vim.org/pub/vim/patches/6.3.065
 Patch066: ftp://ftp.vim.org/pub/vim/patches/6.3.066
 Patch067: ftp://ftp.vim.org/pub/vim/patches/6.3.067
+Patch068: ftp://ftp.vim.org/pub/vim/patches/6.3.068
 
 Patch3000: vim-6.1-syntax.patch
 Patch3001: vim-6.2-rh1.patch
@@ -313,6 +314,7 @@
 %patch065 -p0
 %patch066 -p0
 %patch067 -p0
+%patch068 -p0
 
 
 %patch3000 -p1
@@ -594,6 +596,9 @@
 %endif
 
 %changelog
+* Thu Mar 31 2005 Karsten Hopp <karsten at redhat.de> 6.3-068
+- pathlevel 68 (can't write when editing symbolic link to compressed file)
+
 * Mon Mar 28 2005 Christopher Aillon <caillon at redhat.com>
 - rebuilt
 




More information about the fedora-cvs-commits mailing list