CURSES bug

utzoo!decvax!harpo!seismo!hao!menlo70!sytek!zehntel!tektronix!tekmdp!tombl utzoo!decvax!harpo!seismo!hao!menlo70!sytek!zehntel!tektronix!tekmdp!tombl
Wed Feb 16 00:57:13 AEST 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



More information about the Comp.bugs.2bsd mailing list