Skip to content
Snippets Groups Projects
  1. Oct 27, 2017
  2. Oct 24, 2017
    • bors's avatar
      Auto merge of #787 - vojtechkral:master, r=alexcrichton · 42b24bf7
      bors authored
      Fix kqueue filter consts type on NetBSD [WAS: Provide EV_SET]
      
      Using BSD kqueue's `kevent` structure is tedious, because some BSD variants define the structure slightly differently. This forces user's code to differentiate between BSD variants and initialize `kevent` accordingly, which is annoying and error-prone.
      
      For an example, refer to [MIO](https://github.com/carllerche/mio/blob/master/src/sys/unix/kqueue.rs#L38).
      
      This is an attempt to fix it - provide a ctor function with the same signature across BSD variants.
      
      Is an `impl` piece for a C structure allowed in libc?
      
      **edit:** I noticed the `kevent` function has a similar problem, maybe I should include a fix for that too...
      **edit:** ^ Done
      42b24bf7
  3. Oct 23, 2017
  4. Oct 20, 2017
  5. Oct 19, 2017
  6. Oct 18, 2017
  7. Oct 17, 2017
  8. Oct 16, 2017
  9. Oct 14, 2017
  10. Oct 13, 2017
Loading