projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94ff9f1
)
applying fix for:
author
Paul Fox
<pgf@brightstareng.com>
Wed, 20 Jul 2005 19:40:30 +0000
(19:40 -0000)
committer
Paul Fox
<pgf@brightstareng.com>
Wed, 20 Jul 2005 19:40:30 +0000
(19:40 -0000)
0000263
: nc cannot use -e when initiating a tcp connection
to something else
networking/nc.c
patch
|
blob
|
history
diff --git
a/networking/nc.c
b/networking/nc.c
index bf155b3b13bb3148dd3fc11d94c4dac2cbb1c489..8f641ae4f9513d01b2c5f73bc4faa13004b8413d 100644
(file)
--- 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();