mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 08:52:57 +00:00
[REACTOS] Use the ISO C and C++ conformant names: _wcsicmp, _stricmp
Stop using non-conforming wcsicmp, stricmp, strcasecmp
This commit is contained in:
parent
fb9571ee3c
commit
e4930be4ff
87 changed files with 293 additions and 293 deletions
|
@ -120,30 +120,30 @@ InterpretCmd(
|
|||
|
||||
/* First, determine if the user wants to exit
|
||||
or to use a comment */
|
||||
if (wcsicmp(argv[0], L"exit") == 0)
|
||||
if (_wcsicmp(argv[0], L"exit") == 0)
|
||||
return FALSE;
|
||||
|
||||
if (wcsicmp(argv[0], L"rem") == 0)
|
||||
if (_wcsicmp(argv[0], L"rem") == 0)
|
||||
return TRUE;
|
||||
|
||||
/* Scan internal command table */
|
||||
for (cmdptr = cmds; cmdptr->cmd1; cmdptr++)
|
||||
{
|
||||
if ((cmdptr1 == NULL) &&
|
||||
(cmdptr->cmd1 != NULL) && (wcsicmp(argv[0], cmdptr->cmd1) == 0))
|
||||
(cmdptr->cmd1 != NULL) && (_wcsicmp(argv[0], cmdptr->cmd1) == 0))
|
||||
cmdptr1 = cmdptr;
|
||||
|
||||
if ((cmdptr2 == NULL) &&
|
||||
(argc >= 2) &&
|
||||
(cmdptr->cmd1 != NULL) && (wcsicmp(argv[0], cmdptr->cmd1) == 0) &&
|
||||
(cmdptr->cmd2 != NULL) && (wcsicmp(argv[1], cmdptr->cmd2) == 0))
|
||||
(cmdptr->cmd1 != NULL) && (_wcsicmp(argv[0], cmdptr->cmd1) == 0) &&
|
||||
(cmdptr->cmd2 != NULL) && (_wcsicmp(argv[1], cmdptr->cmd2) == 0))
|
||||
cmdptr2 = cmdptr;
|
||||
|
||||
if ((cmdptr3 == NULL) &&
|
||||
(argc >= 3) &&
|
||||
(cmdptr->cmd1 != NULL) && (wcsicmp(argv[0], cmdptr->cmd1) == 0) &&
|
||||
(cmdptr->cmd2 != NULL) && (wcsicmp(argv[1], cmdptr->cmd2) == 0) &&
|
||||
(cmdptr->cmd3 != NULL) && (wcsicmp(argv[2], cmdptr->cmd3) == 0))
|
||||
(cmdptr->cmd1 != NULL) && (_wcsicmp(argv[0], cmdptr->cmd1) == 0) &&
|
||||
(cmdptr->cmd2 != NULL) && (_wcsicmp(argv[1], cmdptr->cmd2) == 0) &&
|
||||
(cmdptr->cmd3 != NULL) && (_wcsicmp(argv[2], cmdptr->cmd3) == 0))
|
||||
cmdptr3 = cmdptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue