Skip to content
Snippets Groups Projects
  1. Mar 25, 2019
  2. Jan 11, 2019
  3. Jan 10, 2019
  4. Jan 09, 2019
    • Kris Katterjohn's avatar
      Fix (and make consistent) the use of OpenBSD preprocessor macro tests · c13a81f7
      Kris Katterjohn authored and Nick Mathewson's avatar Nick Mathewson committed
      
      Prior to this commit, the testsuite was failing on OpenBSD.  After
      this commit the testsuite runs fine on OpenBSD.
      
      It was previously decided to test for the OpenBSD macro (rather than
      __OpenBSD__, etc.) because OpenBSD forks seem to have the former
      macro defined.  sys/param.h must be included for the OpenBSD macro
      definition; however, many files tested for the OpenBSD macro without
      having this header included.
      
      This commit includes sys/param.h in the files where the OpenBSD macro
      is used (and sys/param.h is not already included), and it also
      changes some instances of the __OpenBSD__ macro to OpenBSD.
      
      See commit 27df23ab which changed
      everything to use OpenBSD instead of __OpenBSD__ or OPENBSD.  See
      also tickets #6982 and #20980 (the latter ticket is where it was
      decided to use the OpenBSD macro).
      
      Signed-off-by: default avatarKris Katterjohn <katterjohn@gmail.com>
      c13a81f7
  5. Jan 08, 2019
  6. Jan 07, 2019
  7. Jan 03, 2019
  8. Jan 02, 2019
  9. Dec 21, 2018
  10. Dec 20, 2018
  11. Dec 18, 2018
    • Alexander Hansen Færøy's avatar
      Avoid breaking the event loop prematurely. · ca7a2ecc
      Alexander Hansen Færøy authored and Nick Mathewson's avatar Nick Mathewson committed
      This patch makes sure that we terminate the event loop from the event
      loop timer instead of directly in the process' exit handler. This allows
      us to run the event loop an additional time to ensure that the SleepEx()
      call on Windows is called and the data from stdout/stderr is delivered
      to us.
      
      Additionally we ensure that we don't try to read or write data from a
      Unix process that have been terminated in the main loop, since its file
      descriptors are closed at that time.
      
      See: https://bugs.torproject.org/28179
      ca7a2ecc
  12. Dec 17, 2018
Loading