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:
aa924a5
)
Silence Win32 compiler warnings following change 25280
author
Steve Hay
<SteveHay@planit.com>
Thu, 11 Aug 2005 10:56:12 +0000
(10:56 +0000)
committer
Steve Hay
<SteveHay@planit.com>
Thu, 11 Aug 2005 10:56:12 +0000
(10:56 +0000)
p4raw-id: //depot/perl@25286
win32/win32.c
patch
|
blob
|
blame
|
history
diff --git
a/win32/win32.c
b/win32/win32.c
index
6cbc08a
..
b21f8cd
100644
(file)
--- a/
win32/win32.c
+++ b/
win32/win32.c
@@
-394,7
+394,7
@@
has_shell_metachars(char *ptr)
* the library functions will get the correct environment
*/
PerlIO *
-Perl_my_popen(pTHX_ c
har *cmd,
char *mode)
+Perl_my_popen(pTHX_ c
onst char *cmd, const
char *mode)
{
#ifdef FIXCMD
#define fixcmd(x) { \
@@
-721,9
+721,9
@@
Perl_do_spawn_nowait(pTHX_ char *cmd)
}
bool
-Perl_do_exec(pTHX_ char *cmd)
+Perl_do_exec(pTHX_ c
onst c
har *cmd)
{
- do_spawn2(aTHX_ cmd, EXECF_EXEC);
+ do_spawn2(aTHX_
(char *)
cmd, EXECF_EXEC);
return FALSE;
}