[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in Opus 38.66



A bug present in previous versions is also present in 38.66 of Franz.
cfasl fails (in most cases) to close the file it reads from.
Consequently, mysterious events occur when the maximum number of open
file descriptors is reached.

The fix is made in the file ffasl.c. "close(fildes)" should be
prepended to the two return sequences from (the Unix code for)
Lcfasl:

------------------------------------------------------------------
Old:	146c146
	< 		{Restorestack(); return(nil);}
	---
Fixed:	> 		{close(fildes); Restorestack(); return(nil);}
	149a150
	> 	close(fildes);
------------------------------------------------------------------


	Tom Blenko
	Metheus Corp.
	ucbvax!tektronix!ogcvax!metheus!tombl
	allegra!ogcvax!metheus!tombl