gcov-io.h: Allow zero tag as EOF indicator.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 29 Jul 2004 08:58:59 +0000 (08:58 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 29 Jul 2004 08:58:59 +0000 (08:58 +0000)
commit00cf2913f841cf835b44febec958831e74d42dea
tree16726bd91201d3686e4da590f47456b9a7153c9d
parentd815ea49f655071a199c1dae851f0849bdf9d711
gcov-io.h: Allow zero tag as EOF indicator.

* gcov-io.h: Allow zero tag as EOF indicator.
(gcov_is_eof): Remove.
(gcov_truncate): Remove.
* gcov-io.c (gcov_seek): Always SEEK_SET.
* libgcov.c (gcov_exit): Don't use gcov_truncate.  Write explicit
EOF tag.
* coverage.c (read_counts_file): Don't use gcov_is_eof.
* gcov-dump.c (dump_file): Likewise.
* gcov.c (read_graph_file, read_count_file): Likewise.

From-SVN: r85291
gcc/ChangeLog
gcc/coverage.c
gcc/gcov-dump.c
gcc/gcov-io.c
gcc/gcov-io.h
gcc/gcov.c
gcc/libgcov.c