diff options
author | Adrian Thurston <thurston@colm.net> | 2020-12-08 00:12:36 +0000 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2020-12-08 00:12:36 +0000 |
commit | fe0e546c65accd2e9ca0fa5410fd88a9b64b36a4 (patch) | |
tree | 19335864620e514d73d62b38c76c773c1bf8e227 /src/aapl/.gitignore | |
parent | 5f310c57af176d7a9a113cbe7fc5b0ff4e4b75f5 (diff) | |
download | colm-fe0e546c65accd2e9ca0fa5410fd88a9b64b36a4.tar.gz |
use fopencookie to avoid leaking FILE structs
If we use fdopen for stdin/out/err we cannot close it to free the file struct
without also closing the file descriptor. If fopencookie is available, use that
to wrap the file descriptor, but allow closing without closing the fd. This is
useful when embedding in long running programs.
Diffstat (limited to 'src/aapl/.gitignore')
0 files changed, 0 insertions, 0 deletions