Patch 7.4.1882
Problem: Check for line break at end of line wrong. (Dominique Pelle)
Solution: Correct the logic.
Files: src/quickfix.c
*** ../vim-7.4.1881/src/quickfix.c 2016-06-02 22:08:01.992282981 +0200
--- src/quickfix.c 2016-06-02 22:16:10.264276265 +0200
***************
*** 643,651 ****
discard = FALSE;
linelen = (int)STRLEN(IObuff);
! if (linelen == IOSIZE - 1 && (IObuff[linelen - 1] != '\n'
#ifdef USE_CRNL
! || IObuff[linelen - 1] != '\r'
#endif
))
{
--- 643,651 ----
discard = FALSE;
linelen = (int)STRLEN(IObuff);
! if (linelen == IOSIZE - 1 && !(IObuff[linelen - 1] == '\n'
#ifdef USE_CRNL
! || IObuff[linelen - 1] == '\r'
#endif
))
{
*** ../vim-7.4.1881/src/version.c 2016-06-02 22:08:01.996282981 +0200
--- src/version.c 2016-06-02 22:17:03.780275529 +0200
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 1882,
/**/
--
Portable Computer: A device invented to force businessmen
to work at home, on vacation, and on business trips.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.