Subject: trap.c patch about longjmp
To: None <port-sun3@NetBSD.ORG>
From: Jari Kokko <jkokko@snakemail.hut.fi>
List: port-sun3
Date: 03/13/1996 12:32:52
I compiled the current kernel yesterday, but had to patch trap.c to do
it. There is a code segment in the function trap like

	if (nofault)
		longjmp(nofault);

This gives one warning, about the type of the parameter; and one
error, about the second parameter missing.

I added 1 as the second parameter and compiled without -Werror.

Who should I tell about this? How can this bug, if it is one, be
present, the compiler spots it every time?

Jari Kokko