diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-01-22 19:08:38 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-01-22 19:08:38 +0000 |
commit | c5a9df36d2317c036858086715459dc4f4a5472f (patch) | |
tree | 36dbabdd05371891cee0d5f8e871e8e68b06a31c /libm/k_standard.c | |
parent | 9febc84ad3517e6226418ca6b9280ab1f069209f (diff) |
Fixed a bug related file position in append mode. _stdio_fwrite now
seeks to the end of the stream when append mode is set and we are
transitioning to write mode, so that subsequent ftell() return
values are correct.
Also fix _stdio_fopen to support fdopen() with append specified when
the underlying file didn't have O_APPEND set. It now sets the
O_APPEND flag as recommended by SUSv3 and is done by glibc.
Diffstat (limited to 'libm/k_standard.c')
0 files changed, 0 insertions, 0 deletions