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 /pp_sys.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 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |