Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2000 13:59:53 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        obrien@freebsd.org
Cc:        freebsd-alpha@freebsd.org
Subject:   dhclient breaks alpha RELENG_4 buildworld
Message-ID:  <14711.15628.540509.396810@grasshopper.cs.duke.edu>

next in thread | raw e-mail | index | archive | help

David,

An alpha -stable buildworld just died in dhclient:

cc -O -pipe -I/usr/src/sbin/dhclient/../../contrib/isc-dhcp/includes -I/usr/src/
sbin/dhclient/../../contrib/isc-dhcp -DCLIENT_PATH='"PATH=/sbin:/usr/sbin:/bin"'
   -I/usr/obj/usr/src/alpha/usr/include -c /usr/src/sbin/dhclient/../../contrib/
isc-dhcp/common/hash.c
/usr/src/sbin/dhclient/../../contrib/isc-dhcp/client/dhclient.c: In function `dh
cp_option_ev_name':
/usr/src/sbin/dhclient/../../contrib/isc-dhcp/client/dhclient.c:2178: argument `
buflen' doesn't match prototype
/usr/src/sbin/dhclient/../../contrib/isc-dhcp/includes/dhcpd.h:909: prototype de
claration
*** Error code 1


The following fixes it:

Index: dhclient.c
===================================================================
RCS file: /home/ncvs/src/contrib/isc-dhcp/client/dhclient.c,v
retrieving revision 1.9.2.2
diff -u -r1.9.2.2 dhclient.c
--- dhclient.c  2000/07/20 10:26:14     1.9.2.2
+++ dhclient.c  2000/07/20 17:57:21
@@ -2173,7 +2173,7 @@
 
 int dhcp_option_ev_name (buf, buflen, option)
        char *buf;
-       unsigned buflen;
+       size_t buflen;
        struct option *option;
 {
        int i;

(I think this also applied to -current)

I'm reluctant to commit anything in src/contrib because I don't
understand the rules for CVS on contributed software, or I'd commit it 
myself.

Cheers,

Drew




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14711.15628.540509.396810>