File: nodup-stderr.patch

package info (click to toggle)
netcat 1.10-50.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,884 kB
  • sloc: ansic: 1,835; sh: 796; makefile: 81
file content (14 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
XXX FIXME

Index: netcat-1.10/netcat.c
===================================================================
--- netcat-1.10.orig/netcat.c
+++ netcat-1.10/netcat.c
@@ -613,7 +613,6 @@ doexec (fd)
   dup2 (fd, 0);				/* the precise order of fiddlage */
   close (fd);				/* is apparently crucial; this is */
   dup2 (0, 1);				/* swiped directly out of "inetd". */
-  dup2 (0, 2);
 
   if (doexec_use_sh) {
 Debug (("gonna exec \"%s\" using /bin/sh...", pr00gie))