1. 30 Jan, 2014 4 commits
  2. 29 Jan, 2014 21 commits
  3. 28 Jan, 2014 10 commits
  4. 26 Jan, 2014 4 commits
  5. 25 Jan, 2014 1 commit
    • Marc Hoersken's avatar
      sockfilt.c: fixed and simplified Windows select function · 49b63cf3
      Marc Hoersken authored
      Since the previous complex select function with initial support for
      non-socket file descriptors, did not actually work correctly for
      Console handles, this change simplifies the whole procedure by using
      an internal waiting thread for the stdin console handle.
      
      The previous implementation made it continuously trigger for the stdin
      handle if it was being redirected to a parent process instead of
      an actual Console input window.
      
      This approach supports actual Console input handles as well as
      anonymous Pipe handles which are used during input redirection.
      
      It depends on the fact that ReadFile supports trying to read zero bytes
      which makes it wait for the handle to become ready for reading.
      49b63cf3