patch 8.2.4273: the EBCDIC support is outdated
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
diff --git a/src/viminfo.c b/src/viminfo.c
index 3620b58..cc28a12 100644
--- a/src/viminfo.c
+++ b/src/viminfo.c
@@ -162,7 +162,7 @@
// the string (e.g., variable name). Add something to the length for the
// '<', NL and trailing NUL.
if (len > LSIZE / 2)
- fprintf(fd, IF_EB("\026%d\n<", CTRL_V_STR "%d\n<"), len + 3);
+ fprintf(fd, "\026%d\n<", len + 3);
while ((c = *p++) != NUL)
{
@@ -2485,11 +2485,9 @@
// We only get here if line[0] == '\'' or '-'.
// Illegal mark names are ignored (for future expansion).
str = virp->vir_line + 1;
- if (
-#ifndef EBCDIC
- *str <= 127 &&
-#endif
- ((*virp->vir_line == '\'' && (VIM_ISDIGIT(*str) || isupper(*str)))
+ if (*str <= 127
+ && ((*virp->vir_line == '\''
+ && (VIM_ISDIGIT(*str) || isupper(*str)))
|| (*virp->vir_line == '-' && *str == '\'')))
{
if (*str == '\'')