Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
dc1f1d7f
Commit
dc1f1d7f
authored
May 18, 2003
by
Nathan Sidwell
Committed by
Nathan Sidwell
May 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcov-io.c (gcov_read_bytes): Fix fread thinko.
From-SVN: r66927
parent
4e2e315f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/gcov-io.c
+1
-1
No files found.
gcc/ChangeLog
View file @
dc1f1d7f
2003-05-18 Nathan Sidwell <nathan@codesourcery.com>
* gcov-io.c (gcov_read_bytes): Fix fread thinko.
2003-05-18 Neil Booth <neil@daikokuya.co.uk>
* c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, TARGET_OBJFMT_CPP_BUILTINS):
...
...
gcc/gcov-io.c
View file @
dc1f1d7f
...
...
@@ -369,7 +369,7 @@ gcov_read_bytes (unsigned bytes)
gcov_allocate
(
gcov_var
.
length
+
bytes
);
excess
=
gcov_var
.
alloc
-
gcov_var
.
length
;
#endif
excess
=
fread
(
gcov_var
.
buffer
+
gcov_var
.
offset
,
excess
=
fread
(
gcov_var
.
buffer
+
gcov_var
.
length
,
1
,
excess
,
gcov_var
.
file
);
gcov_var
.
length
+=
excess
;
if
(
gcov_var
.
length
<
bytes
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment