ld-plugin/pr24406-1.c: Correct buffer size to read
* testsuite/ld-plugin/pr24406-1.c (main): Correct buffer size to read.
This commit is contained in:
parent
ec73ddcd43
commit
4a41f3face
|
@ -1,3 +1,8 @@
|
|||
2019-09-23 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* testsuite/ld-plugin/pr24406-1.c (main): Correct buffer size
|
||||
to read.
|
||||
|
||||
2019-09-23 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* deffilep.y: Include bfdlink.h.
|
||||
|
|
|
@ -12,6 +12,6 @@ __wrap_read (int fd, void *buffer, size_t count)
|
|||
int
|
||||
main ()
|
||||
{
|
||||
int i = read (1, "abc", 5);
|
||||
int i = read (1, "abc", 4);
|
||||
return i == 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue