]> git.pld-linux.org Git - packages/bind.git/commitdiff
- a better fix for the Force type problem in host.c supplied by Chris
authorkravietz <kravietz@pld-linux.org>
Thu, 25 Nov 1999 22:46:19 +0000 (22:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Yarnell <Chris_Yarnell@iengines.com> from ISC, credits to Piotr Majka
<charvel@link.pl>

Changed files:
    bind-host-forcetype.patch -> 1.2

bind-host-forcetype.patch

index 68c4b899e7d27971b795955c98b8894bea253075..23bd8b8abd61524c663b5ad8a8df17032a439e45 100644 (file)
@@ -1,15 +1,12 @@
 diff -ruN src.orig/bin/host/host.c src/bin/host/host.c
 --- src.orig/bin/host/host.c   Thu Nov 11 20:39:10 1999
-+++ src/bin/host/host.c        Mon Nov 15 17:29:03 1999
-@@ -270,11 +270,6 @@
++++ src/bin/host/host.c        Thu Nov 25 23:07:46 1999
+@@ -270,7 +270,7 @@
                        /*NOTREACHED*/
                }
        }
 -      if (gettype == 0) {
--              if (verbose)
--                      printf ("Forcing `-t a' for signature trace.\n");
--              gettype = ns_t_a;
--      }
-       argc -= optind;
-       argv += optind;
-       if (argc < 1)
++      if (gettype == 0 && (sigchase)) {
+               if (verbose)
+                       printf ("Forcing `-t a' for signature trace.\n");
+               gettype = ns_t_a;
This page took 0.268773 seconds and 4 git commands to generate.