Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2004 13:30:14 +0200
From:      Maxime Henrion <mux@freebsd.org>
To:        Maxim Maximov <mcsi@mcsi.pp.ru>
Cc:        current@freebsd.org
Subject:   Re: build is broken after gcc import
Message-ID:  <20040728113014.GV82302@elvis.mu.org>
In-Reply-To: <41078B9E.2030603@mcsi.pp.ru>
References:  <41078B9E.2030603@mcsi.pp.ru>

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

--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Maxim Maximov wrote:
> Hi.
> 
> 	buildworld fails after GCC import:
> 
> /usr/src/usr.sbin/traceroute/../../contrib/traceroute/findsaddr-socket.c: 
> In function `findsaddr':
> /usr/src/usr.sbin/traceroute/../../contrib/traceroute/findsaddr-socket.c:195: 
> error: label at end of compound statement
> *** Error code 1
> 1 error

This patch should solve this issue.

Thanks,
Maxime

--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="traceroute.patch"

Index: findsaddr-socket.c
===================================================================
RCS file: /space2/ncvs/src/contrib/traceroute/findsaddr-socket.c,v
retrieving revision 1.2
diff -u -p -r1.2 findsaddr-socket.c
--- findsaddr-socket.c	30 Jul 2002 04:49:13 -0000	1.2
+++ findsaddr-socket.c	28 Jul 2004 11:27:53 -0000
@@ -190,8 +190,6 @@ findsaddr(register const struct sockaddr
 				}
 				break;
 
-			default:
-				/* empty */
 			}
 
 			if (SALEN(sa) == 0)

--mYCpIKhGyMATD0i+--



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