diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2005-06-08 03:19:00 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2005-06-08 03:19:00 +0000 |
commit | e826a55f3551fc41e004d3bf580b701c9ea90095 (patch) | |
tree | 819152caa0cf964aa7dd228a6567a573699f7632 /usr.bin/asn1_compile | |
parent | 59a548f3383db52de88f7e3290c836dd19566df4 (diff) |
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@pestilenz.org>, ok deraadt
Diffstat (limited to 'usr.bin/asn1_compile')
0 files changed, 0 insertions, 0 deletions