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

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	pvalchev_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2005/06/07 21:18:59

Modified files:
	usr.bin/yacc   : defs.h error.c main.c 

Log message:
add open_write_error() to bail on fopen(3) failing to open for write, gains
more descriptive error messages, eg:
"cannot open target file y.tab.h for writing" as opposed to a generic error.
based on Alexander von Gernler <grunk_(_at_)_pestilenz_(_dot_)_org>, ok deraadt