From: Nicholas Clark Date: Sun, 15 Feb 2009 14:01:18 +0000 (+0000) Subject: In S_incpush(), rename the parameter from dir to p, rather than copying it. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=20ce4c11399f59a97d3594520606e1c947b4dde3;p=p5sagit%2Fp5-mst-13.2.git In S_incpush(), rename the parameter from dir to p, rather than copying it. --- diff --git a/perl.c b/perl.c index e249010..53a56b3 100644 --- a/perl.c +++ b/perl.c @@ -4272,7 +4272,7 @@ S_incpush_if_exists(pTHX_ AV *const av, SV *dir) } STATIC void -S_incpush(pTHX_ const char *dir, U32 flags) +S_incpush(pTHX_ const char *p, U32 flags) { dVAR; const U8 addsubdirs = flags & INCPUSH_ADD_SUB_DIRS; @@ -4281,7 +4281,6 @@ S_incpush(pTHX_ const char *dir, U32 flags) const U8 canrelocate = flags & INCPUSH_CAN_RELOCATE; const U8 unshift = flags & INCPUSH_UNSHIFT; SV *subdir = NULL; - const char *p = dir; AV *inc; if (!p || !*p)