patch 8.2.4273: the EBCDIC support is outdated
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 500ae28..1b788db 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -2467,33 +2467,6 @@
ret_number, f_xor},
};
-#if defined(EBCDIC) || defined(PROTO)
-/*
- * Compare funcentry_T by function name.
- */
- static int
-compare_func_name(const void *s1, const void *s2)
-{
- funcentry_T *p1 = (funcentry_T *)s1;
- funcentry_T *p2 = (funcentry_T *)s2;
-
- return STRCMP(p1->f_name, p2->f_name);
-}
-
-/*
- * Sort the function table by function name.
- * The sorting of the table above is ASCII dependent.
- * On machines using EBCDIC we have to sort it.
- */
- void
-sortFunctions(void)
-{
- size_t funcCnt = ARRAY_LENGTH(global_functions);
-
- qsort(global_functions, funcCnt, sizeof(funcentry_T), compare_func_name);
-}
-#endif
-
/*
* Function given to ExpandGeneric() to obtain the list of internal
* or user defined function names.
@@ -5101,13 +5074,7 @@
0
#endif
},
- {"ebcdic",
-#ifdef EBCDIC
- 1
-#else
- 0
-#endif
- },
+ {"ebcdic", 0 },
{"fname_case",
#ifndef CASE_INSENSITIVE_FILENAME
1