tor/src
Alexander Færøy 02fc0a5ecf
Remove fgets() compatbility function and related tests.
This patch removes the `tor_fgets()` wrapper around `fgets(3)` since it
is no longer needed. The function was created due to inconsistency
between the returned values of `fgets(3)` on different versions of Unix
when using `fgets(3)` on non-blocking file descriptors, but with the
recent changes in bug #21654 we switch from unbuffered to direct I/O on
non-blocking file descriptors in our utility module.

We continue to use `fgets(3)` directly in the geoip and dirserv module
since this usage is considered safe.

This patch also removes the test-case that was created to detect
differences in the implementation of `fgets(3)` as well as the changes
file since these changes was not included in any releases yet.

See: https://bugs.torproject.org/21654
2017-03-09 00:10:18 +01:00
..
common Remove fgets() compatbility function and related tests. 2017-03-09 00:10:18 +01:00
config Merge branch 'maint-0.2.9' 2017-02-13 14:41:43 -05:00
ext Use the standard OpenBSD preprocessor definition 2017-02-03 09:37:39 -05:00
or Remove fgets() compatbility function and related tests. 2017-03-09 00:10:18 +01:00
test Remove fgets() compatbility function and related tests. 2017-03-09 00:10:18 +01:00
tools Do not truncate too long hostnames 2017-02-07 09:27:00 -05:00
trunnel trunnel: Move ESTABLISH_INTRO cell sig_len after the end_sig_fields 2016-12-16 12:21:07 -05:00
win32 Bump to 0.3.0.4-rc-dev 2017-03-01 15:38:36 -05:00
include.am Fuzzing: Add an initial fuzzing tool, for descriptors. 2016-12-19 15:34:55 -05:00