To: vim_dev@googlegroups.com Subject: Patch 8.2.3999 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3999 Problem: Redundant check for NUL byte. Solution: Remove the check for a NUL byte. (closes #9471) Files: src/ex_docmd.c *** ../vim-8.2.3998/src/ex_docmd.c 2022-01-02 20:20:41.377033186 +0000 --- src/ex_docmd.c 2022-01-04 16:21:19.522034690 +0000 *************** *** 3897,3903 **** if (name == NULL) return; ! while (*name != NUL && *name == ':') name++; name = skip_range(name, TRUE, NULL); --- 3897,3903 ---- if (name == NULL) return; ! while (*name == ':') name++; name = skip_range(name, TRUE, NULL); *** ../vim-8.2.3998/src/version.c 2022-01-04 16:05:44.375453494 +0000 --- src/version.c 2022-01-04 16:22:14.737950005 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 3999, /**/ -- hundred-and-one symptoms of being an internet addict: 216. Your pet rock leaves home. /// 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 ///