Check result of "write"
authorTom Tromey <tom@tromey.com>
Wed, 8 Aug 2018 17:57:39 +0000 (11:57 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 8 Aug 2018 17:59:44 +0000 (11:59 -0600)
commit83202f7ae849e538c04656923312d0eab32f6cea
tree2d54c19add182aa7184b8d8dbc7f47d13a49008b
parent5c720ed8861b461193a507e61e3665b1cc840055
Check result of "write"

Some distros enable _FORTIFY_SOURCE by default, which caught a failure
to check the result of "write" in scoped_mmap-selftests.c.  This patch
fixes the problem.

ChangeLog
2018-08-08  Tom Tromey  <tom@tromey.com>

* unittests/scoped_mmap-selftests.c: Check result of "write".
gdb/ChangeLog
gdb/unittests/scoped_mmap-selftests.c
This page took 0.026901 seconds and 4 git commands to generate.