6d648c6
To: vim-dev@vim.org
6d648c6
Subject: Patch 7.1.254
6d648c6
Fcc: outbox
6d648c6
From: Bram Moolenaar <Bram@moolenaar.net>
6d648c6
Mime-Version: 1.0
6d648c6
Content-Type: text/plain; charset=ISO-8859-1
6d648c6
Content-Transfer-Encoding: 8bit
6d648c6
------------
6d648c6
6d648c6
Patch 7.1.254
6d648c6
Problem:    Tests 49 and 55 fail when the locale is French.
6d648c6
Solution:   Using C messages for test 49.  Filter the error message in test 55
6d648c6
	    such that it works when the number is halfway the message.
6d648c6
Files:	    src/testdir/test49.in, src/testdir/test55.in
6d648c6
6d648c6
6d648c6
*** ../vim-7.1.253/src/testdir/test49.in	Tue Sep 25 17:54:41 2007
6d648c6
--- src/testdir/test49.in	Tue Feb 19 21:03:20 2008
6d648c6
***************
6d648c6
*** 6,11 ****
6d648c6
--- 6,12 ----
6d648c6
  STARTTEST
6d648c6
  :so small.vim
6d648c6
  :se nocp nomore viminfo+=nviminfo
6d648c6
+ :lang mess C
6d648c6
  :so test49.vim
6d648c6
  GGGGGGGGGGGGGG"rp:.-,$w! test.out
6d648c6
  :"
6d648c6
*** ../vim-7.1.253/src/testdir/test55.in	Tue Sep 25 17:54:41 2007
6d648c6
--- src/testdir/test55.in	Tue Feb 19 21:06:21 2008
6d648c6
***************
6d648c6
*** 146,152 ****
6d648c6
  :try
6d648c6
  :  let n = d[1500]
6d648c6
  :catch
6d648c6
! :  $put =v:exception[:14] . v:exception[-4:-1]
6d648c6
  :endtry
6d648c6
  :" lookup each items
6d648c6
  :for i in range(1500)
6d648c6
--- 146,152 ----
6d648c6
  :try
6d648c6
  :  let n = d[1500]
6d648c6
  :catch
6d648c6
! :  $put =substitute(v:exception, '\v(.{14}).*( \d{4}).*', '\1\2', '')
6d648c6
  :endtry
6d648c6
  :" lookup each items
6d648c6
  :for i in range(1500)
6d648c6
*** ../vim-7.1.253/src/version.c	Mon Feb 18 19:41:40 2008
6d648c6
--- src/version.c	Wed Feb 20 10:16:59 2008
6d648c6
***************
6d648c6
*** 668,669 ****
6d648c6
--- 668,671 ----
6d648c6
  {   /* Add new patch number below this line */
6d648c6
+ /**/
6d648c6
+     254,
6d648c6
  /**/
6d648c6
6d648c6
-- 
6d648c6
hundred-and-one symptoms of being an internet addict:
6d648c6
34. You laugh at people with 14400 baud modems.
6d648c6
6d648c6
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
6d648c6
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
6d648c6
\\\        download, build and distribute -- http://www.A-A-P.org        ///
6d648c6
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///