This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b1fede
)
vms: use hv_fetchs() with constant string key
author
Yves Orton
<demerphq@gmail.com>
Wed, 19 Oct 2016 08:59:06 +0000
(10:59 +0200)
committer
Yves Orton
<demerphq@gmail.com>
Wed, 19 Oct 2016 11:28:00 +0000
(13:28 +0200)
vms/vms.c
patch
|
blob
|
blame
|
history
diff --git
a/vms/vms.c
b/vms/vms.c
index
2a67a33
..
d1a89cd
100644
(file)
--- a/
vms/vms.c
+++ b/
vms/vms.c
@@
-1301,7
+1301,7
@@
prime_env_iter(void)
envhv = GvHVn(PL_envgv);
/* Perform a dummy fetch as an lval to insure that the hash table is
* set up. Otherwise, the hv_store() will turn into a nullop. */
- (void) hv_fetch
(envhv,"DEFAULT",7
,TRUE);
+ (void) hv_fetch
s(envhv,"DEFAULT"
,TRUE);
for (i = 0; env_tables[i]; i++) {
if (!have_sym && (tmpdsc.dsc$a_pointer = env_tables[i]->dsc$a_pointer) &&