Subject: lib/890: libc patches
To: None <gnats-admin@NetBSD.ORG>
From: Simon J. Gerraty <sjg@frodo.dn.itg.telecom.com.au>
List: netbsd-bugs
Date: 03/21/1995 23:35:19
>Number: 890
>Category: lib
>Synopsis: compile errors in --current
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 21 23:35:16 1995
>Originator: Simon J. Gerraty
>Organization:
Simon J. Gerraty <sjg@zen.void.oz.au>
>Release: <NetBSD-current source date>
>Environment:
System: NetBSD hobbit 1.0A NetBSD 1.0A (HOBBIT) #1: Fri Mar 17 16:39:10 EST 1995 root@hobbit:/usr/bsd_src/src/sys/arch/sparc/compile/HOBBIT
Architecture: sparc
>Description:
The following patches correct a couple of compile errors (on sparc anyway).
>How-To-Repeat:
>Fix:
*** src/lib/libc/net/linkaddr.c.~1~ Sun Feb 26 01:15:50 1995
--- src/lib/libc/net/linkaddr.c Mon Mar 20 10:58:04 1995
***************
*** 92,98 ****
continue;
case NAMING | DELIM:
state = RESET;
! sdl->sdl_nlen = cp - sdl->sdl_data;
continue;
case GOTTWO | DIGIT:
*cp++ = byte;
--- 92,98 ----
continue;
case NAMING | DELIM:
state = RESET;
! sdl->sdl_nlen = cp - (char *) sdl->sdl_data;
continue;
case GOTTWO | DIGIT:
*cp++ = byte;
*** src/sys/net/if.c.~1~ Thu Mar 9 22:38:48 1995
--- src/sys/net/if.c Fri Mar 17 15:44:52 1995
***************
*** 574,580 ****
/*ARGSUSED*/
int
ifconf(cmd, data)
! int cmd;
caddr_t data;
{
register struct ifconf *ifc = (struct ifconf *)data;
--- 574,580 ----
/*ARGSUSED*/
int
ifconf(cmd, data)
! u_long cmd;
caddr_t data;
{
register struct ifconf *ifc = (struct ifconf *)data;
>Audit-Trail:
>Unformatted:
SUP'd today