OpenBSD CVS

CVS log for src/usr.bin/yacc/main.c


[BACK] Up to [local] / src / usr.bin / yacc

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_3_9_BASE


Revision 1.20 / (download) - annotate - [select for diffs], Wed Jun 8 03:18:59 2005 UTC (18 years, 11 months ago) by pvalchev
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.