diff options
author | Alexander Færøy <ahf@torproject.org> | 2017-03-08 01:47:12 +0100 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2017-03-09 00:10:17 +0100 |
commit | 6e78ede73f190f3aaf91623a131a20cf031aad7e (patch) | |
tree | c7e0da2be9971fb50aa34a7566112cdb0f7afd27 /changes | |
parent | 86de065aee642585e092969c69681f7e8847a648 (diff) | |
download | tor-6e78ede73f190f3aaf91623a131a20cf031aad7e.tar.gz tor-6e78ede73f190f3aaf91623a131a20cf031aad7e.zip |
Remove buffered I/O stream usage in process_handle_t.
This patch removes the buffered I/O stream usage in process_handle_t and
its related utility functions. This simplifies the code and avoids racy
code where we used buffered I/O on non-blocking file descriptors.
See: https://bugs.torproject.org/21654
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug21654 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug21654 b/changes/bug21654 new file mode 100644 index 0000000000..fd1c650710 --- /dev/null +++ b/changes/bug21654 @@ -0,0 +1,4 @@ + o Code simplifications and refactoring + - Use unbuffered I/O for utility functions around the process_handle_t + type. This fixes unit test failures reported on OpenBSD and FreeBSD. + Fixes bug 21654. |