Patch 8.2.3672

3 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 25, 2021, 8:27:06 AM11/25/21
to vim...@googlegroups.com

Patch 8.2.3672 (after 8.2.3670)
Problem: Build failure with unsigned char.
Solution: Use int instead of char.
Files: src/xxd/xxd.c


*** ../vim-8.2.3671/src/xxd/xxd.c 2021-11-25 11:16:43.141318500 +0000
--- src/xxd/xxd.c 2021-11-25 13:24:29.597569997 +0000
***************
*** 253,266 ****
}

static void
! exit_on_ferror(char c, FILE *fpi)
{
if (c == EOF && ferror(fpi))
perror_exit(2);
}

static void
! putc_or_die(char c, FILE *fpo)
{
if (putc(c, fpo) == EOF)
perror_exit(3);
--- 253,266 ----
}

static void
! exit_on_ferror(int c, FILE *fpi)
{
if (c == EOF && ferror(fpi))
perror_exit(2);
}

static void
! putc_or_die(int c, FILE *fpo)
{
if (putc(c, fpo) == EOF)
perror_exit(3);
*** ../vim-8.2.3671/src/version.c 2021-11-25 13:04:44.618340595 +0000
--- src/version.c 2021-11-25 13:25:45.853917893 +0000
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3672,
/**/

--
It is illegal to take more than three sips of beer at a time while standing.
[real standing law in Texas, United States of America]

/// 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