diff options
author | Paul Smith <psmith@gnu.org> | 2022-11-16 09:27:53 -0500 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2022-11-16 10:00:34 -0500 |
commit | 53b8f6a5da5cd8c585d0de28d7ad6a8912061c64 (patch) | |
tree | b3a9d196a6291244b9eeeb2d448a3589942da9c0 | |
parent | 6c1a6dd77c55e7302ced47cdc293292ae9400d85 (diff) | |
download | make-git-53b8f6a5da5cd8c585d0de28d7ad6a8912061c64.tar.gz |
* src/main.c (main): [SV 63373] Don't use macros with memcmp()
Reported by djm <mccannd@uk.ibm.com>
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 == '-') { |