Skip to content
Commit ae42bbc5 authored by Siddhesh Poyarekar's avatar Siddhesh Poyarekar
Browse files

Change offset in fdopen only if setting O_APPEND

fdopen should only be allowed to change the offset in the file it
attaches to if it is setting O_APPEND.  If O_APPEND is already set, it
should not change the state of the handle.
parent ea33158c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment