Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/pkg_install/lib Fix for Solaris: don't try to call ...



details:   https://anonhg.NetBSD.org/src/rev/e38cb9980797
branches:  trunk
changeset: 481440:e38cb9980797
user:      agc <agc%NetBSD.org@localhost>
date:      Mon Jan 31 13:33:19 2000 +0000

description:
Fix for Solaris: don't try to call unsetenv().

diffstat:

 usr.sbin/pkg_install/lib/ftpio.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 3a794c4084f0 -r e38cb9980797 usr.sbin/pkg_install/lib/ftpio.c
--- a/usr.sbin/pkg_install/lib/ftpio.c  Mon Jan 31 13:21:20 2000 +0000
+++ b/usr.sbin/pkg_install/lib/ftpio.c  Mon Jan 31 13:33:19 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ftpio.c,v 1.9 2000/01/26 02:12:14 hubertf Exp $        */
+/*     $NetBSD: ftpio.c,v 1.10 2000/01/31 13:33:19 agc Exp $   */
 /*      Id: foo2.c,v 1.12 1999/12/17 02:31:57 feyrer Exp feyrer        */
 
 /*
@@ -300,8 +300,10 @@
                close(ftpio.answer);
        }
 
+#if !(defined(__svr4__) && defined(__sun__))
        unsetenv(PKG_FTPIO_COMMAND); 
        unsetenv(PKG_FTPIO_ANSWER);
+#endif
 }
 
 



Home | Main Index | Thread Index | Old Index