diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-01-12 21:18:53 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-01-12 21:18:53 +0000 |
commit | 50be524409eb264fd9ccfc2a87cf0c367d4c9b1c (patch) | |
tree | 7d31289320619fc5629d67f0238777755808fc52 /distrib/amd64 | |
parent | 63299cfd7b1199287f561c8b0d60da94719bb4ba (diff) |
we only write to writable files, so use O_WRONLY.
st_size is only meaningful for regular files, so check S_ISREG
Diffstat (limited to 'distrib/amd64')
0 files changed, 0 insertions, 0 deletions