diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-05-26 13:39:14 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-05-26 13:39:14 +0000 |
commit | 873ef191be9d12eed8116e23926efe319c6ed859 (patch) | |
tree | 88d2e70ffc2b1d49d8556a53ae1709fb84e6e6b6 /doio.c | |
parent | cedea190b107621491e9374674b8382221691335 (diff) | |
download | perl-873ef191be9d12eed8116e23926efe319c6ed859.tar.gz |
[asperl] tweaks to make it build with the Borland compiler. Won't run
testsuite because @INC intuition from location of perlcore.dll seems
to be broken. Also, system() and qx// seem broken as well.
p4raw-id: //depot/asperl@1033
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -741,7 +741,7 @@ do_binmode(PerlIO *fp, int iotype, int flag) * document this anywhere). GSAR 97-5-24 */ PerlIO_seek(fp,0L,0); - fp->flags |= _F_BIN; + ((FILE*)fp)->flags |= _F_BIN; #endif return 1; } @@ -1085,7 +1085,9 @@ apply(I32 type, register SV **mark, register SV **sp) SV **oldmark = mark; #define APPLY_TAINT_PROPER() \ - if (!(tainting && tainted)) {} else { goto taint_proper; } + STMT_START { \ + if (tainting && tainted) { goto taint_proper_label; } \ + } STMT_END /* This is a first heuristic; it doesn't catch tainting magic. */ if (tainting) { @@ -1265,7 +1267,7 @@ apply(I32 type, register SV **mark, register SV **sp) } return tot; - taint_proper: + taint_proper_label: TAINT_PROPER(what); return 0; /* this should never happen */ |