To: vim_dev@googlegroups.com Subject: Patch 8.2.3672 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///