Bug 1014: Fix incompatible pointer type in init_perl.
commit5e4a565603cf29c43e3d1a2d7a1ee81ab11e6516
authorKalle Olavi Niemitalo <kon@iki.fi>
Sun, 1 Jun 2008 22:35:47 +0000 (2 01:35 +0300)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sun, 8 Jun 2008 17:40:17 +0000 (8 20:40 +0300)
treec389f8604c8c5633ab1abc29c63dde42f335ec97
parentbed84c483e812bedaabf2315775a35c9c4b3868c
Bug 1014: Fix incompatible pointer type in init_perl.

The second argument of PERL_SYS_INIT3 should be a char ***
but ELinks was giving it a char *(*)[1].

Also, enlarge the array to 2 elements, so that my_argv[my_argc] == NULL
like in main().  PERL_SYS_INIT3 seems hardly documented at all so I'm
not sure this is necessary, but it shouldn't hurt.
(cherry picked from commit 8d0677e76adda01991d6f4092659a693633a9c1b)
NEWS
src/scripting/perl/core.c