diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-10-30 08:05:32 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-10-30 08:05:32 +0000 |
commit | e4dba78629baadf544a977b8105c4c2d93050b21 (patch) | |
tree | ccfb57be30afc7aa0fe7f0d4871241bf72e2b5d0 /mathoms.c | |
parent | dbab294c68e8160ef916906a4beca1da8c0c2ec5 (diff) | |
download | perl-e4dba78629baadf544a977b8105c4c2d93050b21.tar.gz |
Replace do_open() with a macro to call do_openn() with the extra two
0 paramters. Move the old body to mathoms.c.
p4raw-id: //depot/perl@25889
Diffstat (limited to 'mathoms.c')
-rw-r--r-- | mathoms.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -604,6 +604,14 @@ Perl_av_fake(pTHX_ register I32 size, register SV **strp) } bool +Perl_do_open(pTHX_ GV *gv, register const char *name, I32 len, int as_raw, + int rawmode, int rawperm, PerlIO *supplied_fp) +{ + return do_openn(gv, name, len, as_raw, rawmode, rawperm, + supplied_fp, (SV **) NULL, 0); +} + +bool Perl_do_open9(pTHX_ GV *gv, register const char *name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp, SV *svs, @@ -628,7 +636,6 @@ Perl_do_binmode(pTHX_ PerlIO *fp, int iotype, int mode) return PerlIO_binmode(aTHX_ fp, iotype, mode, name); } - /* * Local variables: * c-indentation-style: bsd |