Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2000 12:56:48 -0800 (PST)
From:      John_David_Galt@acm.org
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/16825: "team.c" won't compile
Message-ID:  <200002192056.MAA75521@freefall.freebsd.org>

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

>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




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