• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision4a41f3face78a551ea5c85db24125989754f2ee8 (tree)
Time2019-09-24 00:51:36
AuthorH.J. Lu <hjl.tools@gmai...>
CommiterH.J. Lu

Log Message

ld-plugin/pr24406-1.c: Correct buffer size to read

* testsuite/ld-plugin/pr24406-1.c (main): Correct buffer size
to read.

Change Summary

Incremental Difference

--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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+
16 2019-09-23 Alan Modra <amodra@gmail.com>
27
38 * deffilep.y: Include bfdlink.h.
--- a/ld/testsuite/ld-plugin/pr24406-1.c
+++ b/ld/testsuite/ld-plugin/pr24406-1.c
@@ -12,6 +12,6 @@ __wrap_read (int fd, void *buffer, size_t count)
1212 int
1313 main ()
1414 {
15- int i = read (1, "abc", 5);
15+ int i = read (1, "abc", 4);
1616 return i == 0;
1717 }