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