# HG changeset patch # User Bram Moolenaar # Date 1642689005 -3600 # Node ID da5b8e1405c6fb9e2107c2765a58ddba78c4a080 # Parent d3d184c72683493f0199dd1838179caead7f52ca patch 8.2.4155: translating strftime() argument results in check error Commit: https://github.com/vim/vim/commit/7e93577a957e4f402bb690c4c8629fd831e24a9d Author: Bram Moolenaar Date: Thu Jan 20 14:25:57 2022 +0000 patch 8.2.4155: translating strftime() argument results in check error Problem: Translating strftime() argument results in check error. Solution: Add gettext comment. diff --git a/src/time.c b/src/time.c --- a/src/time.c +++ b/src/time.c @@ -93,6 +93,7 @@ get_ctime(time_t thetime, int add_newlin vim_strncpy((char_u *)buf, (char_u *)_("(Invalid)"), sizeof(buf) - 1); else { + // xgettext:no-c-format (void)strftime(buf, sizeof(buf) - 1, _("%a %b %d %H:%M:%S %Y"), curtime); # ifdef MSWIN diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4155, +/**/ 4154, /**/ 4153,