perlcheat is a reference, not tutorial.
[p5sagit/p5-mst-13.2.git] / util.c
diff --git a/util.c b/util.c
index ea0c43e..aec4354 100644 (file)
--- a/util.c
+++ b/util.c
@@ -1516,6 +1516,7 @@ Perl_my_setenv(pTHX_ char *nam,char *val)
 
 #endif /* WIN32 || NETWARE */
 
+#ifndef PERL_MICRO
 I32
 Perl_setenv_getix(pTHX_ char *nam)
 {
@@ -1533,6 +1534,7 @@ Perl_setenv_getix(pTHX_ char *nam)
     }                                  /* potential SEGV's */
     return i;
 }
+#endif /* !PERL_MICRO */
 
 #endif /* !VMS && !EPOC*/
 
@@ -1819,8 +1821,6 @@ Perl_my_popen_list(pTHX_ char *mode, int n, SV **args)
 #if defined(HAS_FCNTL) && defined(F_SETFD)
            /* Close error pipe automatically if exec works */
            fcntl(pp[1], F_SETFD, FD_CLOEXEC);
-#else
-           PerlLIO_close(pp[1]); /* Do as best as we can: pretend success. */
 #endif
        }
        /* Now dup our end of _the_ pipe to right position */
@@ -1960,8 +1960,6 @@ Perl_my_popen(pTHX_ char *cmd, char *mode)
            PerlLIO_close(pp[0]);
 #if defined(HAS_FCNTL) && defined(F_SETFD)
            fcntl(pp[1], F_SETFD, FD_CLOEXEC);
-#else
-           PerlLIO_close(pp[1]); /* Do as best as we can: pretend success. */
 #endif
        }
        if (p[THIS] != (*mode == 'r')) {