X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=djgpp%2Fdjgpp.c;h=0e465b0f82819b78243cbaaea20e371ba7c99edb;hb=7d824d8e6f7cacfafe95d58fa9ab3d99bd41e854;hp=f235421ae3630b145d5bd33323065b6ada6022dc;hpb=2b96b0a587f7ad8b6305181755f2d821e8a640ff;p=p5sagit%2Fp5-mst-13.2.git diff --git a/djgpp/djgpp.c b/djgpp/djgpp.c index f235421..0e465b0 100644 --- a/djgpp/djgpp.c +++ b/djgpp/djgpp.c @@ -1,20 +1,5 @@ #define PERLIO_NOT_STDIO 0 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "EXTERN.h" -#include "perl.h" -#include "XSUB.h" +#include "djgpp.h" /* hold file pointer, command, mode, and the status of the command */ struct pipe_list { @@ -367,6 +352,9 @@ XS(dos_GetCwd) ST(0)=sv_newmortal (); if (getcwd (tmp,PATH_MAX+1)!=NULL) sv_setpv ((SV*)ST(0),tmp); +#ifndef INCOMPLETE_TAINTS + SvTAINTED_on(ST(0)); +#endif } XSRETURN (1); } @@ -397,7 +385,8 @@ static char *perlprefix; #define PERL5 "/perl5" -char *djgpp_pathexp (const char *p) +char * +djgpp_pathexp (const char *p) { static char expp[PATH_MAX]; strcpy (expp,perlprefix);