Patch 9.0.1297

3 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 10, 2023, 3:50:27 PM2/10/23
to vim...@googlegroups.com

Patch 9.0.1297
Problem: Wrong value for $LC_CTYPE makes the environ test fail.
Solution: Unset $LC_CTYPE when running tests. (closes #11963)
Files: src/testdir/test_environ.vim


*** ../vim-9.0.1296/src/testdir/test_environ.vim 2022-04-24 11:06:02.000000000 +0100
--- src/testdir/test_environ.vim 2023-02-10 20:47:04.203463022 +0000
***************
*** 73,79 ****
" If $LANG is not set then the system locale will be used.
" Run Vim after unsetting all the locale environmental vars, and capture the
" output of :lang.
! let lang_results = system("unset LANG; unset LC_MESSAGES; " ..
\ shellescape(v:progpath) ..
\ " --clean -esX -c 'redir @a' -c 'lang' -c 'put a' -c 'print' -c 'qa!' ")

--- 73,79 ----
" If $LANG is not set then the system locale will be used.
" Run Vim after unsetting all the locale environmental vars, and capture the
" output of :lang.
! let lang_results = system("unset LANG; unset LC_MESSAGES; unset LC_CTYPE; " ..
\ shellescape(v:progpath) ..
\ " --clean -esX -c 'redir @a' -c 'lang' -c 'put a' -c 'print' -c 'qa!' ")

*** ../vim-9.0.1296/src/version.c 2023-02-10 15:52:21.654002123 +0000
--- src/version.c 2023-02-10 20:46:25.567472313 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1297,
/**/

--
"New York, the city that never sleeps". "There is so much noise?"

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages