From 982d35ffa2e4ee673bb74f1984d585108f4bf4c2 Mon Sep 17 00:00:00 2001 From: Paul Fox Date: Wed, 20 Jul 2005 19:40:30 +0000 Subject: [PATCH] applying fix for: 0000263: nc cannot use -e when initiating a tcp connection to something else --- networking/nc.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/networking/nc.c b/networking/nc.c index bf155b3b1..8f641ae4f 100644 --- a/networking/nc.c +++ b/networking/nc.c @@ -82,13 +82,6 @@ int nc_main(int argc, char **argv) } } -#ifdef CONFIG_NC_GAPING_SECURITY_HOLE - if (pr00gie) { - /* won't need stdin */ - close(STDIN_FILENO); - } -#endif /* CONFIG_NC_GAPING_SECURITY_HOLE */ - if ((do_listen && optind != argc) || (!do_listen && optind + 2 != argc)) bb_show_usage(); -- 2.25.1