summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-06-02 07:19:43 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-06-03 08:31:26 +0000
commitb464bac0b70c4876af1296864220315edde8461d (patch)
tree9d2088559b19bbf0fbf64591f1dcd7df4961be5b /pp_sys.c
parent2d706fb2bbfd21eac5cd2efc341a42f1caed2490 (diff)
downloadperl-b464bac0b70c4876af1296864220315edde8461d.tar.gz
Random consting
Message-ID: <20050602171943.GA16553@petdance.com> p4raw-id: //depot/perl@24689
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 98b99e44f7..1171ec8a53 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -1390,7 +1390,7 @@ PP(pp_leavewrite)
cv = GvFORM(fgv);
if (!cv) {
SV * const sv = sv_newmortal();
- char *name;
+ const char *name;
gv_efullname4(sv, fgv, Nullch, FALSE);
name = SvPV_nolen(sv);
if (name && *name)
@@ -3727,9 +3727,9 @@ PP(pp_readlink)
#if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
STATIC int
-S_dooneliner(pTHX_ char *cmd, char *filename)
+S_dooneliner(pTHX_ const char *cmd, const char *filename)
{
- char *save_filename = filename;
+ char * const save_filename = filename;
char *cmdline;
char *s;
PerlIO *myfp;