diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2004-07-29 08:58:59 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-07-29 08:58:59 +0000 |
commit | 00cf2913f841cf835b44febec958831e74d42dea (patch) | |
tree | 16726bd91201d3686e4da590f47456b9a7153c9d /gcc/gcov-dump.c | |
parent | d815ea49f655071a199c1dae851f0849bdf9d711 (diff) | |
download | gcc-00cf2913f841cf835b44febec958831e74d42dea.zip gcc-00cf2913f841cf835b44febec958831e74d42dea.tar.gz gcc-00cf2913f841cf835b44febec958831e74d42dea.tar.bz2 |
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
Diffstat (limited to 'gcc/gcov-dump.c')
-rw-r--r-- | gcc/gcov-dump.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/gcov-dump.c b/gcc/gcov-dump.c index e011562..994f7fb 100644 --- a/gcc/gcov-dump.c +++ b/gcc/gcov-dump.c @@ -254,8 +254,6 @@ dump_file (const char *filename) break; } } - if (!gcov_is_eof ()) - printf ("%s:early end of file\n", filename); gcov_close (); } |