Remove VMS_strcasecmp() from apps.c, it's not used any more. And
besides, the implementation is bogus.
This commit is contained in:
16
apps/apps.c
16
apps/apps.c
@@ -330,22 +330,6 @@ void program_name(char *in, char *out, int size)
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef OPENSSL_SYS_VMS
|
|
||||||
int VMS_strcasecmp(const char *str1, const char *str2)
|
|
||||||
{
|
|
||||||
while (*str1 && *str2)
|
|
||||||
{
|
|
||||||
int res = toupper(*str1) - toupper(*str2);
|
|
||||||
if (res) return res < 0 ? -1 : 1;
|
|
||||||
}
|
|
||||||
if (*str1)
|
|
||||||
return 1;
|
|
||||||
if (*str2)
|
|
||||||
return -1;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int chopup_args(ARGS *arg, char *buf, int *argc, char **argv[])
|
int chopup_args(ARGS *arg, char *buf, int *argc, char **argv[])
|
||||||
{
|
{
|
||||||
int num,len,i;
|
int num,len,i;
|
||||||
|
Reference in New Issue
Block a user