This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
XSUB.h: simplify cpp conditions using C89 "#elif"
[perl5.git] / pp_sys.c
index c8e7a9f..e3aee18 100644 (file)
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -664,6 +664,8 @@ PP(pp_open)
 PP(pp_close)
 {
     dSP;
+    /* pp_coreargs pushes a NULL to indicate no args passed to
+     * CORE::close() */
     GV * const gv =
        MAXARG == 0 || (!TOPs && !POPs) ? PL_defoutgv : MUTABLE_GV(POPs);
 
@@ -1369,6 +1371,8 @@ PP(pp_select)
 PP(pp_getc)
 {
     dSP; dTARGET;
+    /* pp_coreargs pushes a NULL to indicate no args passed to
+     * CORE::getc() */
     GV * const gv =
        MAXARG==0 || (!TOPs && !POPs) ? PL_stdingv : MUTABLE_GV(POPs);
     IO *const io = GvIO(gv);