summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-03-02 08:04:00 -0700
committerKarl Williamson <khw@cpan.org>2018-03-02 08:10:42 -0700
commit8c53dadaae93f83724d12eb772b088eb0237843e (patch)
treeb8fa16a923cdc50c0a0cda4adf672ea1d062d471 /mg.c
parentbe68a30e444b3213a95df511fb8e856b2107ce73 (diff)
downloadperl-8c53dadaae93f83724d12eb772b088eb0237843e.tar.gz
mg.c: Fix isSCRIPT_RUN call
Commit 49cd072660b3b1858be5f27df107b3b42498a3f3 failed to fix up this call to isSCRIPT_RUN, which is typically only compiled on Windows.
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mg.c b/mg.c
index 331f96639e..c03bf257ff 100644
--- a/mg.c
+++ b/mg.c
@@ -835,8 +835,7 @@ S_fixup_errno_string(pTHX_ SV* sv)
under UTF-8, which gives us an extra measure of confidence. */
&& isSCRIPT_RUN((const U8 *) SvPVX_const(sv), (U8 *) SvEND(sv),
- TRUE, /* Means assume UTF-8 */
- NULL)
+ TRUE) /* Means assume UTF-8 */
#endif
) {