tor/src
Alexander Færøy 498287b3c3
Add compatibility function for fgets(3).
This patch adds the `tor_fgets()` function to our compatibility layer.

`tor_fgets()` adds an additional check for whether the error-bit have
been enabled for the given file stream, if that is the case and `errno`
is set to `EAGAIN` we make sure that we always return NULL.

Unfortunately `fgets(3)` behaves differently on different versions of
the C library.

See: https://bugs.torproject.org/21416
See: https://bugs.torproject.org/20988
2017-03-01 21:26:26 +01:00
..
common Add compatibility function for fgets(3). 2017-03-01 21:26:26 +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 Merge remote-tracking branch 'asn/bug21586' 2017-03-01 09:21:34 -05:00
test Merge branch 'maint-0.3.0' 2017-03-01 07:52:51 -05: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 version to 0.3.0.4-rc 2017-02-28 10:40:08 -05:00
include.am Fuzzing: Add an initial fuzzing tool, for descriptors. 2016-12-19 15:34:55 -05:00