From: utzoo!decvax!harpo!seismo!hao!menlo70!sytek!zehntel!tektronix!tekmdp!tombl
Newsgroups: net.bugs.2bsd
Title: CURSES bug
Article-I.D.: tekmdp.1777
Posted: Wed Feb 16 00:57:13 1983
Received: Sun Feb 20 10:39:20 1983

The CURSES overlay() routine causes a core dump. The fix is simple:
substitute

# define	max(a,b)	(a > b ? a : b)

for

# define	max(a,b)	(a < b ? a : b)

on line 5 of overlay.c.

	Tom Blenko
	decvax!teklabs!tekmdp!tombl
	ucbvax!teklabs!tekmdp!tombl