From: Paul Eggert Date: Wed, 30 Oct 2002 09:45:46 +0000 (+0000) Subject: * lib/bitset_stats.c (bitset_stats_read, bitset_stats_write): X-Git-Tag: BISON-1_875~371 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/762b212bdfe3704f364835cc68b35512f5090c45?ds=sidebyside * lib/bitset_stats.c (bitset_stats_read, bitset_stats_write): Check for close failures. * src/files.h (xfclose): Return void, not int, since it always returned zero. * src/files.c (xfclose): Likewise. Report I/O error if ferror indicates one. * src/output.c (output_skeleton): Use xfclose rather than fclose and ferror. xfclose now checks ferror. * data/glr.c (YYLEFTMOST_STATE): Remove. (yyreportTree): Use a stack-based leftmost state. This avoids our continuing battles with bogus warnings about initializers. --- diff --git a/ChangeLog b/ChangeLog index e535ddb3..050927af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2002-10-30 Paul Eggert + + * lib/bitset_stats.c (bitset_stats_read, bitset_stats_write): + Check for close failures. + * src/files.h (xfclose): Return void, not int, since it always + returned zero. + * src/files.c (xfclose): Likewise. Report I/O error if ferror + indicates one. + * src/output.c (output_skeleton): Use xfclose rather than fclose + and ferror. xfclose now checks ferror. + + * data/glr.c (YYLEFTMOST_STATE): Remove. + (yyreportTree): Use a stack-based leftmost state. This avoids + our continuing battles with bogus warnings about initializers. + 2002-10-30 Akim Demaille * src/system.h: Don't use #ifdef/#ifndef on HAVE_ values, only