Merge the refactoring of Perl_do_openn() to blead.
authorNicholas Clark <nick@ccl4.org>
Wed, 19 Mar 2014 10:03:04 +0000 (11:03 +0100)
committerNicholas Clark <nick@ccl4.org>
Wed, 19 Mar 2014 10:14:11 +0000 (11:14 +0100)
This makes Perl_do_openn() a wrapper around two functions Perl_do_open_raw()
and Perl_do_open6(), which provide sysopen and open functionality.
In turn, shared setup and cleanup code from these two is moved to two static
functions S_openn_setup() and S_openn_cleanup().

For now both functions are not part of the public API, as they may change,
and offer no functionality that isn't already accessible via Perl_do_openn().

These changes make it easi*er* to follow the twisted logic of open.


Trivial merge