summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-12-04 02:58:31 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-12-04 02:58:31 +0000
commitaca93fd6baeb969c554c7f33a70d10ac42148858 (patch)
treefcd0c0e665d55080aa8e72648f3627f40c991b7a /toke.c
parentfde631edcda1e6cf071a0596a8e3c07734ab8307 (diff)
parentb4748376b6239962bd75b743e5a7b14788a2970c (diff)
downloadperl-aca93fd6baeb969c554c7f33a70d10ac42148858.tar.gz
Integrate perlio:
[ 7971] Quieten some noise in Win32 builds: - win32.h is included after <sys/socket.h>, so need to set Win32SCK_IS_STDSCK earlier to avoid re-defined noise in XSUB.h - GCC (& MSVC?) have execv(...,const char *const *) so need a cast from char **. [ 7970] PERL_IMPLICIT_SYS compiles but does not work. p4raw-link: @7971 on //depot/perlio: b4748376b6239962bd75b743e5a7b14788a2970c p4raw-link: @7970 on //depot/perlio: adb71456d0ff53391c88789f315f1e66b14373d5 p4raw-id: //depot/perl@7972
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 7b680910e7..c07d991274 100644
--- a/toke.c
+++ b/toke.c
@@ -2718,7 +2718,7 @@ Perl_yylex(pTHX)
else
newargv = PL_origargv;
newargv[0] = ipath;
- PerlProc_execv(ipath, newargv);
+ PerlProc_execv(ipath, EXEC_ARGV_CAST(newargv));
Perl_croak(aTHX_ "Can't exec %s", ipath);
}
#endif