diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-12-04 08:11:07 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-12-04 08:11:07 +0530 |
commit | 61b4f792e03facb456036b3f631d58d4f53b8075 (patch) | |
tree | 9c7a8b641caf405210cafb8ad1d9837b45add0ed /libio/iofgetws_u.c | |
parent | be349d7042de84c3c5157a5c1fbcad580aed33e1 (diff) | |
download | glibc-61b4f792e03facb456036b3f631d58d4f53b8075.zip glibc-61b4f792e03facb456036b3f631d58d4f53b8075.tar.gz glibc-61b4f792e03facb456036b3f631d58d4f53b8075.tar.bz2 |
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 'libio/iofgetws_u.c')
0 files changed, 0 insertions, 0 deletions