

7/9/89

	Several small problems with the distribution of Ularn have cropped
	up, and I've put together several patches.  To apply, you'll need 
	Larry Wall's "patch" program (if you don't have it and can't
	find it anywhere, you should be able to make the modifications
	by hand from the descriptions below). These should be applied to 
	the unmodified sources as distributed by the comp.sources.games
	moderator.

-Phil Cordier
philc@sco.COM  
...!uunet!sco!philc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

FILE:	header.h
CHANGE:	move "#include <sys/timeb.h>" to after #ifdef BSD
FIXES:	file not found message for those SYSV implentations that don't
	have the BSD <sys/timeb.h> file.

FILE: 	main.c      	
CHANGE: all "<=26" to "<26"
FIXES:	problem with junk on screen after doing an inventory

FILE: 	nap.c       	
CHANGE: comment out stuff after "#else"
FIXES:	error messages from picky compilers

FILE: 	to_ansi.c   	
CHANGE:	add explicit "exit(0)" before end of main()
FIXES:	unless explicit succesfull return value is there, some compilers
	return whatever is on top of the stack - if non-zero, 'make' bombs
	out.

FILE: 	tok.c		
CHANGE:	add an ioctl to flush input buffer for those who don't have the 
	POSIX tcflush() function.
FIXES:	unresolved external message for those without POSIX stuff.

FILE: 	scores.c		
CHANGE: change first call of "scbr()" to "clearvt100()" in died()
FIXES:	restores all initial terminal settings - EOF will now correctly 
	be <control>-D instead of <control>-A after playing the game.

FILE:	Makefile
CHANGE:	$(UTIL) to ./$(UTIL) in actions for Umaps
FIXES:	If you run 'make install' as root, it will fail when it tries
	to run 'to_ansi <Uhelp.no_control >Uhelp' because "." is not in root's
	PATH. Fix by adding explicit "./" before the "to_ansi" call.
CHANGE: $(UTIL_OBJ) to $(UTIL_SRC) in production for $(UTIL)
FIXES:	Some systems complain about not being able to find to_ansi.o.

FILE:	store.c
CHANGE: add a loop to zero out gemvalue array before selling a stone
FIXES:  bug allowing you to sell a gemstone multiple times
