From: Paul Fox Date: Wed, 20 Jul 2005 19:40:30 +0000 (-0000) Subject: applying fix for: X-Git-Tag: 1_1_0~888 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=982d35ffa2e4ee673bb74f1984d585108f4bf4c2;p=oweals%2Fbusybox.git applying fix for: 0000263: nc cannot use -e when initiating a tcp connection to something else --- 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();