diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-06-10 23:34:19 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-06-10 23:34:19 +0000 |
commit | 41cd373618dfb8cfe39ec8169c4a1b162678c980 (patch) | |
tree | f80bc9dcfae919e521b468cdf15312e5aa2ef5bb /djgpp | |
parent | b76802f5349f9b9be2e0dcf5948c4c7a2fa57d98 (diff) | |
download | perl-41cd373618dfb8cfe39ec8169c4a1b162678c980.tar.gz |
part of the platform changes for IMPLICIT_CONTEXT
p4raw-id: //depot/perl@3531
Diffstat (limited to 'djgpp')
-rw-r--r-- | djgpp/djgpp.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/djgpp/djgpp.c b/djgpp/djgpp.c index 07eb80e1f7..ae03f21639 100644 --- a/djgpp/djgpp.c +++ b/djgpp/djgpp.c @@ -117,10 +117,10 @@ pclose (FILE *pp) #define EXECF_EXEC 1 static int -convretcode (int rc,char *prog,int fl) +convretcode (pTHX_ int rc,char *prog,int fl) { if (rc < 0 && PL_dowarn) - warn ("Can't %s \"%s\": %s",fl ? "exec" : "spawn",prog,Strerror (errno)); + Perl_warn (aTHX_ "Can't %s \"%s\": %s",fl ? "exec" : "spawn",prog,Strerror (errno)); if (rc > 0) return rc <<= 8; if (rc < 0) @@ -129,7 +129,7 @@ convretcode (int rc,char *prog,int fl) } int -do_aspawn (SV *really,SV **mark,SV **sp) +do_aspawn (pTHX_ SV *really,SV **mark,SV **sp) { dTHR; int rc; @@ -164,7 +164,7 @@ do_aspawn (SV *really,SV **mark,SV **sp) #define EXTRA "\x00\x00\x00\x00\x00\x00" int -do_spawn2 (char *cmd,int execf) +do_spawn2 (pTHX_ char *cmd,int execf) { char **a,*s,*shell,*metachars; int rc,unixysh; @@ -232,15 +232,15 @@ doshell: } int -do_spawn (char *cmd) +do_spawn (pTHX_ char *cmd) { - return do_spawn2 (cmd,EXECF_SPAWN); + return do_spawn2 (aTHX_ cmd,EXECF_SPAWN); } bool -do_exec (char *cmd) +Perl_do_exec (pTHX_ char *cmd) { - do_spawn2 (cmd,EXECF_EXEC); + do_spawn2 (aTHX_ cmd,EXECF_EXEC); return FALSE; } @@ -361,7 +361,7 @@ XS(dos_GetCwd) dXSARGS; if (items) - croak ("Usage: Dos::GetCwd()"); + Perl_croak (aTHX_ "Usage: Dos::GetCwd()"); { char tmp[PATH_MAX+2]; ST(0)=sv_newmortal (); @@ -379,7 +379,7 @@ XS(dos_UseLFN) } void -init_os_extras() +Perl_init_os_extras(pTHX) { char *file = __FILE__; |