Subject: misc/19602: 1.6_STABLE build broken (dist/dhcp/minires/res_mkupdate.c)
To: None <gnats-bugs@gnats.netbsd.org>
From: Otto Hilska <mutru@iki.fi>
List: netbsd-bugs
Date: 12/29/2002 20:34:53
>Number: 19602
>Category: misc
>Synopsis: dist/dhcp/minires/res_mkupdate.c breaks 1.6_STABLE build
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 29 12:35:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Otto Hilska
>Release: NetBSD 1.6_STABLE
>Organization:
>Environment:
System: NetBSD vasara 1.6_STABLE NetBSD 1.6_STABLE (VASARA) #0: Sun Dec 29 20:16:20 EET 2002 mutru@vasara:/usr/src/sys/arch/i386/compile/VASARA i386
Architecture: i386
Machine: i386
>Description:
When trying to build 1.6_STABLE (checkout on 29 Dec 2002), build fails
in src/dist/dhcp/minires/res_mkupdate.c.
>How-To-Repeat:
Try to run 'sh build.sh'.
>Fix:
I figured out there's a typo in res_mkupdate.c line 795. It seems
to be:
while (("startpp <= endp) &&
Now, a more logical choice would be:
while ((*startpp <= endp) &&
>Release-Note:
>Audit-Trail:
>Unformatted: