From: Alan Modra Date: Mon, 14 Mar 2005 12:32:02 +0000 (+0000) Subject: * gmon_io.c (gmon_write_raw_arc): Return 1 for invalid size. X-Git-Tag: csl-arm-20050325-branchpoint~154 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ef6bac796736212fd2547acef4d948d224975dd;p=external%2Fbinutils.git * gmon_io.c (gmon_write_raw_arc): Return 1 for invalid size. --- diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 16da34f..5f69f80 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,5 +1,9 @@ 2005-03-14 Alan Modra + * gmon_io.c (gmon_write_raw_arc): Return 1 for invalid size. + +2005-03-14 Alan Modra + * po/tr.po: Commit new Turkish translation. 2005-03-05 Alan Modra diff --git a/gprof/gmon_io.c b/gprof/gmon_io.c index 7218cee..e0ae885 100644 --- a/gprof/gmon_io.c +++ b/gprof/gmon_io.c @@ -256,6 +256,9 @@ gmon_read_raw_arc (FILE *ifp, bfd_vma *fpc, bfd_vma *spc, unsigned long *cnt) *cnt = cnt64; break; #endif + + default: + return 1; } return 0; }