about summary refs log tree commit diff
path: root/debug/gethostname_chk.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-12-04 08:11:07 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-12-04 08:11:07 +0530
commit61b4f792e03facb456036b3f631d58d4f53b8075 (patch)
tree9c7a8b641caf405210cafb8ad1d9837b45add0ed /debug/gethostname_chk.c
parentbe349d7042de84c3c5157a5c1fbcad580aed33e1 (diff)
downloadglibc-61b4f792e03facb456036b3f631d58d4f53b8075.tar.gz
glibc-61b4f792e03facb456036b3f631d58d4f53b8075.tar.xz
glibc-61b4f792e03facb456036b3f631d58d4f53b8075.zip
tst-ftell-active-handler: Open file with O_TRUNC for w modes
The test case fails to truncate the file when a file is intended to be
opened in w or w+ mode.  Add O_TRUNC to fix this.  The test still
succeeds with this change.
Diffstat (limited to 'debug/gethostname_chk.c')
0 files changed, 0 insertions, 0 deletions