devel/vim 7.1.253,NONE,1.1

Karsten Hopp (karsten) fedora-extras-commits at redhat.com
Mon Feb 25 15:37:19 UTC 2008


Author: karsten

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

Added Files:
	7.1.253 
Log Message:
- patchlevel 253


--- NEW FILE 7.1.253 ---
To: vim-dev at vim.org
Subject: Patch 7.1.253
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.253
Problem:    ":sort" doesn't work in a one line file. (Patrick Texier)
Solution:   Don't sort if there is only one line. (Dominique Pelle)
Files:	    src/ex_cmds.c


*** ../vim-7.1.252/src/ex_cmds.c	Sat Jan 19 15:55:51 2008
--- src/ex_cmds.c	Mon Feb 18 19:38:02 2008
***************
*** 365,370 ****
--- 365,374 ----
      int		sort_oct;		/* sort on octal number */
      int		sort_hex;		/* sort on hex number */
  
+     /* Sorting one line is really quick! */
+     if (count <= 1)
+ 	return;
+ 
      if (u_save((linenr_T)(eap->line1 - 1), (linenr_T)(eap->line2 + 1)) == FAIL)
  	return;
      sortbuf1 = NULL;
*** ../vim-7.1.252/src/version.c	Thu Feb 14 22:19:39 2008
--- src/version.c	Mon Feb 18 19:39:24 2008
***************
*** 668,669 ****
--- 668,671 ----
  {   /* Add new patch number below this line */
+ /**/
+     253,
  /**/

-- 
"You know, it's at times like this when I'm trapped in a Vogon airlock with
a man from Betelgeuse and about to die of asphyxiation in deep space that I
really wish I'd listened to what my mother told me when I was young!"
"Why, what did she tell you?"
"I don't know, I didn't listen!"
		-- Arthur Dent and Ford Prefect in Douglas Adams'
		   "The Hitchhiker's Guide to the Galaxy"

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