GNU Binutils with patches for OS216
Revision | 4a41f3face78a551ea5c85db24125989754f2ee8 (tree) |
---|---|
Time | 2019-09-24 00:51:36 |
Author | H.J. Lu <hjl.tools@gmai...> |
Commiter | H.J. Lu |
ld-plugin/pr24406-1.c: Correct buffer size to read
* testsuite/ld-plugin/pr24406-1.c (main): Correct buffer size
to read.
@@ -1,3 +1,8 @@ | ||
1 | +2019-09-23 H.J. Lu <hongjiu.lu@intel.com> | |
2 | + | |
3 | + * testsuite/ld-plugin/pr24406-1.c (main): Correct buffer size | |
4 | + to read. | |
5 | + | |
1 | 6 | 2019-09-23 Alan Modra <amodra@gmail.com> |
2 | 7 | |
3 | 8 | * deffilep.y: Include bfdlink.h. |
@@ -12,6 +12,6 @@ __wrap_read (int fd, void *buffer, size_t count) | ||
12 | 12 | int |
13 | 13 | main () |
14 | 14 | { |
15 | - int i = read (1, "abc", 5); | |
15 | + int i = read (1, "abc", 4); | |
16 | 16 | return i == 0; |
17 | 17 | } |