rpms/vim/devel 7.1.300,NONE,1.1

Karsten Hopp (karsten) fedora-extras-commits at redhat.com
Tue Jun 3 12:58:49 UTC 2008


Author: karsten

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

Added Files:
	7.1.300 
Log Message:
- patchlevel 300


--- NEW FILE 7.1.300 ---
To: vim-dev at vim.org
Subject: Patch 7.1.300
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.300
Problem:    Value of asmsyntax argument isn't checked for valid characters.
Solution:   Only accepts letters and digits.
Files:	    runtime/filetype.vim


*** ../vim-7.1.299/runtime/filetype.vim	Wed May 28 16:48:00 2008
--- runtime/filetype.vim	Wed May 28 17:11:37 2008
***************
*** 190,196 ****
    let head = " ".getline(1)." ".getline(2)." ".getline(3)." ".getline(4).
  	\" ".getline(5)." "
    if head =~ '\sasmsyntax=\S\+\s'
!     let b:asmsyntax = substitute(head, '.*\sasmsyntax=\(\S\+\)\s.*','\1', "")
    elseif ((head =~? '\.title') || (head =~? '\.ident') || (head =~? '\.macro') || (head =~? '\.subtitle') || (head =~? '\.library'))
      let b:asmsyntax = "vmasm"
    endif
--- 190,196 ----
    let head = " ".getline(1)." ".getline(2)." ".getline(3)." ".getline(4).
  	\" ".getline(5)." "
    if head =~ '\sasmsyntax=\S\+\s'
!     let b:asmsyntax = substitute(head, '.*\sasmsyntax=\([a-zA-Z0-9]\+\)\s.*','\1', "")
    elseif ((head =~? '\.title') || (head =~? '\.ident') || (head =~? '\.macro') || (head =~? '\.subtitle') || (head =~? '\.library'))
      let b:asmsyntax = "vmasm"
    endif
*** ../vim-7.1.299/src/version.c	Wed May 28 16:48:01 2008
--- src/version.c	Wed May 28 17:28:05 2008
***************
*** 668,669 ****
--- 673,676 ----
  {   /* Add new patch number below this line */
+ /**/
+     300,
  /**/

-- 
If you don't get everything you want, think of
everything you didn't get and don't want.

 /// 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