mirror of
https://github.com/mirror/make.git
synced 2025-01-01 07:50:52 +08:00
* src/main.c (main): [SV 63373] Don't use macros with memcmp()
Reported by djm <mccannd@uk.ibm.com>
This commit is contained in:
parent
6c1a6dd77c
commit
53b8f6a5da
@ -1503,7 +1503,7 @@ main (int argc, char **argv, char **envp)
|
||||
|
||||
/* If this is MAKE_RESTARTS, check to see if the "already printed
|
||||
the enter statement" flag is set. */
|
||||
if (len == 13 && memcmp (envp[i], STRING_SIZE_TUPLE ("MAKE_RESTARTS")) == 0)
|
||||
if (len == 13 && memcmp (envp[i], "MAKE_RESTARTS", CSTRLEN ("MAKE_RESTARTS")) == 0)
|
||||
{
|
||||
if (*ep == '-')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user