summaryrefslogtreecommitdiff
path: root/mg.h
diff options
context:
space:
mode:
authorYitzchak Scott-Thoennes <sthoenna@efn.org>2002-09-11 15:22:45 -0700
committerhv <hv@crypt.org>2002-10-01 08:10:21 +0000
commitcb50f42d44feb5486b1014e87f10579f0b7cddbf (patch)
treea6287078174bb8819276c355a6b5d93123e8837a /mg.h
parent0d1032abc6ecb94ee2955275dc38423a9d34216c (diff)
downloadperl-cb50f42d44feb5486b1014e87f10579f0b7cddbf.tar.gz
Re: sv_2pv_flags and ROK and UTF8 flags
Message-ID: <lSCg9gzkgymX092yn@efn.org> p4raw-id: //depot/perl@17947
Diffstat (limited to 'mg.h')
-rw-r--r--mg.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/mg.h b/mg.h
index e99b52cb6d..bbd675b98d 100644
--- a/mg.h
+++ b/mg.h
@@ -33,14 +33,13 @@ struct magic {
I32 mg_len;
};
-#define MGf_TAINTEDDIR 1
+#define MGf_TAINTEDDIR 1 /* PERL_MAGIC_envelem only */
+#define MGf_MINMATCH 1 /* PERL_MAGIC_regex_global only */
#define MGf_REFCOUNTED 2
#define MGf_GSKIP 4
#define MGf_COPY 8
#define MGf_DUP 16
-#define MGf_MINMATCH 1
-
#define MgTAINTEDDIR(mg) (mg->mg_flags & MGf_TAINTEDDIR)
#define MgTAINTEDDIR_on(mg) (mg->mg_flags |= MGf_TAINTEDDIR)
#define MgTAINTEDDIR_off(mg) (mg->mg_flags &= ~MGf_TAINTEDDIR)