X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=wince%2Fwince.c;h=b6b9f140db64fb4107547dadd0fc133f4d0455d4;hb=cef228671c8f137a38217c0c077e19066320c53f;hp=c34928e25057902adf1b9fc571afb8a609fcb24e;hpb=ca6c63e1e9622808fb1119b6b9d65061b2f2fbf3;p=p5sagit%2Fp5-mst-13.2.git diff --git a/wince/wince.c b/wince/wince.c index c34928e..b6b9f14 100644 --- a/wince/wince.c +++ b/wince/wince.c @@ -871,8 +871,8 @@ win32_fseek(FILE *pf,long offset,int origin) return fseek(pf, offset, origin); } -// fpos_t seems to be int64 on hpc pro! Really stupid. -// But maybe someday there will be such large disks in a hpc... +/* fpos_t seems to be int64 on hpc pro! Really stupid. */ +/* But maybe someday there will be such large disks in a hpc... */ DllExport int win32_fgetpos(FILE *pf, fpos_t *p) { @@ -1233,7 +1233,7 @@ win32_dynaload(const char* filename) return hModule; } -// this is needed by Cwd.pm... +/* this is needed by Cwd.pm... */ static XS(w32_GetCwd) @@ -1248,6 +1248,9 @@ XS(w32_GetCwd) EXTEND(SP,1); SvPOK_on(sv); ST(0) = sv; +#ifndef INCOMPLETE_TAINTS + SvTAINTED_on(ST(0)); +#endif XSRETURN(1); } @@ -1290,7 +1293,7 @@ XS(w32_GetOSVersion) XPUSHs(newSViv(osver.dwMajorVersion)); XPUSHs(newSViv(osver.dwMinorVersion)); XPUSHs(newSViv(osver.dwBuildNumber)); - // WINCE = 3 + /* WINCE = 3 */ XPUSHs(newSViv(osver.dwPlatformId)); PUTBACK; } @@ -1557,12 +1560,12 @@ wce_hitreturn() return; } -////////////////////////////////////////////////////////////////////// +/* //////////////////////////////////////////////////////////////////// */ void win32_argv2utf8(int argc, char** argv) { - // do nothing... + /* do nothing... */ } void @@ -1597,7 +1600,7 @@ Perl_sys_intern_clear(pTHX) # endif } -////////////////////////////////////////////////////////////////////// +/* //////////////////////////////////////////////////////////////////// */ #undef getcwd