]> git.pld-linux.org Git - packages/nc.git/commitdiff
- patches merged from rawhide.
authorkloczek <kloczek@pld-linux.org>
Tue, 24 Oct 2000 00:24:49 +0000 (00:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nc-halfclose.patch -> 1.1
    nc-proto.patch -> 1.1

nc-halfclose.patch [new file with mode: 0644]
nc-proto.patch [new file with mode: 0644]

diff --git a/nc-halfclose.patch b/nc-halfclose.patch
new file mode 100644 (file)
index 0000000..7745ded
--- /dev/null
@@ -0,0 +1,10 @@
+--- nc/netcat.c.halfclose      Fri Aug 11 12:59:56 2000
++++ nc/netcat.c        Fri Aug 11 13:01:15 2000
+@@ -1220,6 +1220,7 @@
+       if (rr <= 0) {                  /* at end, or fukt, or ... */
+         FD_CLR (0, ding1);            /* disable and close stdin */
+         close (0);
++        shutdown(fd, 1);              /* no more sending from us */
+       } else {
+         rzleft = rr;
+         zp = bigbuf_in;
diff --git a/nc-proto.patch b/nc-proto.patch
new file mode 100644 (file)
index 0000000..d0a2428
--- /dev/null
@@ -0,0 +1,10 @@
+--- nc/netcat.c.proto  Fri Oct 20 17:01:42 2000
++++ nc/netcat.c        Fri Oct 20 17:02:22 2000
+@@ -77,6 +77,7 @@
+ #include <errno.h>
+ #include <signal.h>
+ #include <fcntl.h>            /* O_WRONLY et al */
++#include <resolv.h>           /* res_init */
+ /* handy stuff: */
+ #define SA struct sockaddr    /* socket overgeneralization braindeath */
This page took 0.084283 seconds and 4 git commands to generate.