|
Karsten Hopp |
0dbda4 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
0dbda4 |
Subject: Patch 7.2.351 (after 7.2.347)
|
|
Karsten Hopp |
0dbda4 |
Fcc: outbox
|
|
Karsten Hopp |
0dbda4 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
0dbda4 |
Mime-Version: 1.0
|
|
Karsten Hopp |
0dbda4 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
0dbda4 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
0dbda4 |
------------
|
|
Karsten Hopp |
0dbda4 |
|
|
Karsten Hopp |
0dbda4 |
Patch 7.2.351 (after 7.2.347)
|
|
Karsten Hopp |
0dbda4 |
Problem: Can't build with some compilers.
|
|
Karsten Hopp |
0dbda4 |
Solution: Move the #ifdef outside of a macro. Cleanup the code.
|
|
Karsten Hopp |
0dbda4 |
Files: src/getchar.c
|
|
Karsten Hopp |
0dbda4 |
|
|
Karsten Hopp |
0dbda4 |
|
|
Karsten Hopp |
0dbda4 |
*** ../vim-7.2.350/src/getchar.c 2010-01-27 17:31:38.000000000 +0100
|
|
Karsten Hopp |
0dbda4 |
--- src/getchar.c 2010-01-28 22:42:22.000000000 +0100
|
|
Karsten Hopp |
0dbda4 |
***************
|
|
Karsten Hopp |
0dbda4 |
*** 2492,2508 ****
|
|
Karsten Hopp |
0dbda4 |
i = FAIL;
|
|
Karsten Hopp |
0dbda4 |
else
|
|
Karsten Hopp |
0dbda4 |
{
|
|
Karsten Hopp |
0dbda4 |
! i = ins_typebuf(s,
|
|
Karsten Hopp |
0dbda4 |
! save_m_noremap != REMAP_YES
|
|
Karsten Hopp |
0dbda4 |
! ? save_m_noremap
|
|
Karsten Hopp |
0dbda4 |
! : STRNCMP(s,
|
|
Karsten Hopp |
0dbda4 |
#ifdef FEAT_EVAL
|
|
Karsten Hopp |
0dbda4 |
! save_m_keys != NULL ? save_m_keys :
|
|
Karsten Hopp |
0dbda4 |
#endif
|
|
Karsten Hopp |
0dbda4 |
! mp->m_keys,
|
|
Karsten Hopp |
0dbda4 |
! (size_t)keylen) != 0
|
|
Karsten Hopp |
0dbda4 |
! ? REMAP_YES : REMAP_SKIP,
|
|
Karsten Hopp |
0dbda4 |
! 0, TRUE, cmd_silent || save_m_silent);
|
|
Karsten Hopp |
0dbda4 |
#ifdef FEAT_EVAL
|
|
Karsten Hopp |
0dbda4 |
if (save_m_expr)
|
|
Karsten Hopp |
0dbda4 |
vim_free(s);
|
|
Karsten Hopp |
0dbda4 |
--- 2492,2515 ----
|
|
Karsten Hopp |
0dbda4 |
i = FAIL;
|
|
Karsten Hopp |
0dbda4 |
else
|
|
Karsten Hopp |
0dbda4 |
{
|
|
Karsten Hopp |
0dbda4 |
! int noremap;
|
|
Karsten Hopp |
0dbda4 |
!
|
|
Karsten Hopp |
0dbda4 |
! if (save_m_noremap != REMAP_YES)
|
|
Karsten Hopp |
0dbda4 |
! noremap = save_m_noremap;
|
|
Karsten Hopp |
0dbda4 |
! else if (
|
|
Karsten Hopp |
0dbda4 |
#ifdef FEAT_EVAL
|
|
Karsten Hopp |
0dbda4 |
! STRNCMP(s, save_m_keys != NULL
|
|
Karsten Hopp |
0dbda4 |
! ? save_m_keys : mp->m_keys,
|
|
Karsten Hopp |
0dbda4 |
! (size_t)keylen)
|
|
Karsten Hopp |
0dbda4 |
! #else
|
|
Karsten Hopp |
0dbda4 |
! STRNCMP(s, mp->m_keys, (size_t)keylen)
|
|
Karsten Hopp |
0dbda4 |
#endif
|
|
Karsten Hopp |
0dbda4 |
! != 0)
|
|
Karsten Hopp |
0dbda4 |
! noremap = REMAP_YES;
|
|
Karsten Hopp |
0dbda4 |
! else
|
|
Karsten Hopp |
0dbda4 |
! noremap = REMAP_SKIP;
|
|
Karsten Hopp |
0dbda4 |
! i = ins_typebuf(s, noremap,
|
|
Karsten Hopp |
0dbda4 |
! 0, TRUE, cmd_silent || save_m_silent);
|
|
Karsten Hopp |
0dbda4 |
#ifdef FEAT_EVAL
|
|
Karsten Hopp |
0dbda4 |
if (save_m_expr)
|
|
Karsten Hopp |
0dbda4 |
vim_free(s);
|
|
Karsten Hopp |
0dbda4 |
*** ../vim-7.2.350/src/version.c 2010-01-27 21:04:58.000000000 +0100
|
|
Karsten Hopp |
0dbda4 |
--- src/version.c 2010-01-28 22:50:53.000000000 +0100
|
|
Karsten Hopp |
0dbda4 |
***************
|
|
Karsten Hopp |
0dbda4 |
*** 683,684 ****
|
|
Karsten Hopp |
0dbda4 |
--- 683,686 ----
|
|
Karsten Hopp |
0dbda4 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
0dbda4 |
+ /**/
|
|
Karsten Hopp |
0dbda4 |
+ 351,
|
|
Karsten Hopp |
0dbda4 |
/**/
|
|
Karsten Hopp |
0dbda4 |
|
|
Karsten Hopp |
0dbda4 |
--
|
|
Karsten Hopp |
0dbda4 |
"Hit any key to continue" it said, but nothing happened after F sharp.
|
|
Karsten Hopp |
0dbda4 |
|
|
Karsten Hopp |
0dbda4 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
0dbda4 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
0dbda4 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
0dbda4 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|