diff options
author | Yves Orton <demerphq@gmail.com> | 2016-10-19 10:50:19 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2016-10-19 13:28:00 +0200 |
commit | f7806eea88e5aba9e71c6bb718cccd7f2e85a8e4 (patch) | |
tree | dcc57c4e0fa677e64471325c3ad5b2739ab552b4 | |
parent | 752602b13595db3fed3bcca882e24d5fa533be42 (diff) | |
download | perl-f7806eea88e5aba9e71c6bb718cccd7f2e85a8e4.tar.gz |
ext/POSIX: use _memEQs() and not memEQ() for constant string comparison
-rw-r--r-- | ext/POSIX/POSIX.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 672807a54b..b573f5e1f2 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -3006,7 +3006,7 @@ sigaction(sig, optaction, oldaction = 0) const char *s = SvPVX_const(ST(0)); int i = whichsig(s); - if (i < 0 && memEQ(s, "SIG", 3)) + if (i < 0 && _memEQs(s, "SIG")) i = whichsig(s + 3); if (i < 0) { if (ckWARN(WARN_SIGNAL)) |