diff options
author | Craig A. Berry <craigberry@mac.com> | 2015-10-15 09:12:21 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2015-10-15 12:22:43 -0500 |
commit | 2aa28b861421a2e3084b5a6b4f179b54ea0d2faa (patch) | |
tree | 4d96ac6f47a5b2bb6977b4e55ff6558f890b7263 /util.c | |
parent | 0cc19a439196f84cece8e6a23b363e42790c834d (diff) | |
download | perl-2aa28b861421a2e3084b5a6b4f179b54ea0d2faa.tar.gz |
VMS-specific statbuf in Perl_find_script.
In 97466d2cbf895b I added a declaration at function scope, but in
some paths that was overridden at an inner scope, leaving the
function-level one declared but not used. So lets go back to the
original intent of 45a23732c73c8 and have a separate declaration
in each block that needs it.
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3310,6 +3310,7 @@ Perl_find_script(pTHX_ const char *scriptname, bool dosearch, while (deftypes || (!hasdir && my_trnlnm("DCL$PATH",tmpbuf,idx++)) ) { + Stat_t statbuf; if (deftypes) { deftypes = 0; *tmpbuf = '\0'; |