diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2021-05-06 07:35:23 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2021-05-06 07:35:23 +0000 |
commit | 16b333ca38dfeababbaaac8f2a87f1fd41131ade (patch) | |
tree | 5daa154fcba0b21456cb187e5bc34f98cd28109a /usr.bin/dig | |
parent | d724ecf5dc87604bbcdcba80dd74a5c344ccb2bc (diff) |
Simplify file handling. There is no reason to use O_NONBLOCK on regular
files since they will never "block". Remove the UPLOAD_READ_LOCAL state
and inline the meta data check into pre_file().
Plug one memory leak and cleanup code a bunch.
OK benno@
Diffstat (limited to 'usr.bin/dig')
0 files changed, 0 insertions, 0 deletions