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
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
In embed.pl, move the logic for perlapi.c's Tolkien quote out from do_not_edit()
[perl5.git]
/
miniperlmain.c
diff --git
a/miniperlmain.c
b/miniperlmain.c
index
39f8f19
..
59d79b0
100644
(file)
--- a/
miniperlmain.c
+++ b/
miniperlmain.c
@@
-74,7
+74,9
@@
main(int argc, char **argv, char **env)
my_vars = my_plvarsp = plvarsp;
# endif
#endif /* PERL_GLOBAL_STRUCT */
- (void)env;
+#ifndef NO_ENV_ARRAY_IN_MAIN
+ PERL_UNUSED_ARG(env);
+#endif
#ifndef PERL_USE_SAFE_PUTENV
PL_use_safe_putenv = 0;
#endif /* PERL_USE_SAFE_PUTENV */