diff options
author | Nicholas Clark <nick@ccl4.org> | 2014-03-02 09:50:38 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2014-03-19 10:57:53 +0100 |
commit | d5eb9a4687ba974ffd0d02aab53326c5aba6a9e0 (patch) | |
tree | ac42edbd4daada8d4b122daa07c4700ad8169abd /os2/os2.c | |
parent | 4b451737e0f77cc9e91b1336d04f21659d96b732 (diff) | |
download | perl-d5eb9a4687ba974ffd0d02aab53326c5aba6a9e0.tar.gz |
Change core uses of Perl_do_openn() to Perl_do_open6() or Perl_do_open_raw().
Calls to Perl_do_openn() all have at least 2 unused arguments which clutter
the code and hinder easy understanding. Perl_do_open6() and
Perl_do_open_raw() each only do one job, so don't have the dead arguments.
Diffstat (limited to 'os2/os2.c')
-rw-r--r-- | os2/os2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4257,7 +4257,7 @@ XS(XS_OS2_pipe) ST(0) = sv_newmortal(); { GV *gv = newGVgen("OS2::pipe"); - if ( do_open(gv, perltype, strlen(perltype), FALSE, 0, 0, perlio) ) + if ( do_open6(gv, perltype, strlen(perltype), perlio, NULL, 0) ) sv_setsv(ST(0), sv_bless(newRV((SV*)gv), gv_stashpv("IO::Handle",1))); else ST(0) = &PL_sv_undef; |