diff options
author | Andy Lester <andy@petdance.com> | 2005-06-02 07:19:43 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-06-03 08:31:26 +0000 |
commit | b464bac0b70c4876af1296864220315edde8461d (patch) | |
tree | 9d2088559b19bbf0fbf64591f1dcd7df4961be5b /doio.c | |
parent | 2d706fb2bbfd21eac5cd2efc341a42f1caed2490 (diff) | |
download | perl-b464bac0b70c4876af1296864220315edde8461d.tar.gz |
Random consting
Message-ID: <20050602171943.GA16553@petdance.com>
p4raw-id: //depot/perl@24689
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -103,7 +103,7 @@ Perl_do_openn(pTHX_ GV *gv, register char *name, I32 len, int as_raw, /* Collect default raw/crlf info from the op */ if (PL_op && PL_op->op_type == OP_OPEN) { /* set up IO layers */ - U8 flags = PL_op->op_private; + const U8 flags = PL_op->op_private; in_raw = (flags & OPpOPEN_IN_RAW); in_crlf = (flags & OPpOPEN_IN_CRLF); out_raw = (flags & OPpOPEN_OUT_RAW); @@ -2000,7 +2000,8 @@ Perl_do_ipcctl(pTHX_ I32 optype, SV **mark, SV **sp) { SV *astr; char *a; - I32 infosize, getinfo; + STRLEN infosize; + I32 getinfo; I32 ret = -1; const I32 id = SvIVx(*++mark); const I32 n = (optype == OP_SEMCTL) ? SvIVx(*++mark) : 0; |