From owner-freebsd-bugs Sat Feb 19 13: 0: 9 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8334337BCE0 for ; Sat, 19 Feb 2000 13:00:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA75713; Sat, 19 Feb 2000 13:00:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 181CF37BC4E for ; Sat, 19 Feb 2000 12:56:49 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA75521; Sat, 19 Feb 2000 12:56:48 -0800 (PST) (envelope-from nobody@FreeBSD.org) Message-Id: <200002192056.MAA75521@freefall.freebsd.org> Date: Sat, 19 Feb 2000 12:56:48 -0800 (PST) From: John_David_Galt@acm.org To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/16825: "team.c" won't compile Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16825 >Category: misc >Synopsis: "team.c" won't compile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 19 13:00:02 PST 2000 >Closed-Date: >Last-Modified: >Originator: John David Galt >Release: 3.3-RELEASE >Organization: none >Environment: >Description: "team.c", in /cdrom/distfiles/team-3.1.tar.gz of CD #4, won't compile. cc complains that the type "sys_errlist" is already defined. >How-To-Repeat: >Fix: Patch team.c as follows (diff): 289d288 < #if 0 /* defined in stdio.h on FreeBSD */ 291,292c290 < #endif < const char *errmsg = sys_errlist[errno]; --- > char *errmsg = sys_errlist[errno]; 346c344 < case FdEOF: return 0; --- > when FdEOF: return 0; 387c385 < case FdEOF: return 0; --- > when FdEOF: return 0; 569c567 < case TokenREAD: --- > when TokenREAD: 976c974 < case 'i': --- > when 'i': For the first line I would have preferred something like #ifndef FREEBSD but if there's any such thing it isn't documented. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message