[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-bugs
Subject:    kernel/808: ip_fil.c inconsistencies (causes crash in -current build)
From:       Thierry.Deval () Computer ! Org
Date:       1999-04-22 15:57:46
[Download RAW message or body]


>Number:         808
>Category:       kernel
>Synopsis:       make build in -current crashes in /usr.sbin/ipftest
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 22 10:00:03 MDT 1999
>Last-Modified:
>Originator:     Thierry Deval
>Organization:
net
>Release:        2.5-current
>Environment:
	
	System      : OpenBSD 2.5
	Architecture: OpenBSD.i386
	Machine     : i586
>Description:
        When doing a 'make build' in the current (04/21/1999) source tree,
        the make stops with a syntax error at line 1184 in the file
        '/usr/src/usr.sbin/ipftest/../../sys/netinet/ip_fil.c'

	
>How-To-Repeat:
        make build in /usr/src (I don't think having a too special config)

	
>Fix:
        apply the following patch to '/usr/src/sys/netinet/ip_fil.c'

RCS file: /usr/cvs/src/sys/netinet/ip_fil.c,v
retrieving revision 1.22
diff -r1.22 ip_fil.c
1184c1184
< # if (defined(NetBSD) && (NetBSD <= 1991011) && (NetBSD >= 199606)) ||
---
> # if (defined(NetBSD) && (NetBSD <= 1991011) && (NetBSD >= 199606)) || \
1270,1271c1270,1271
< # if (defined(NetBSD) && (NetBSD <= 1991011) && (NetBSD >= 199606))
<       if (defined(OpenBSD) && (OpenBSD >= 199603))
---
> # if (defined(NetBSD) && (NetBSD <= 1991011) && (NetBSD >= 199606)) || \
>       (defined(OpenBSD) && (OpenBSD >= 199603))
1278c1278
< #endif
---
> #    endif

	

>Audit-Trail:
>Unformatted:

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic