Skip to content
Snippets Groups Projects
  1. Apr 04, 2020
    • Joshua M. Clulow's avatar
      fix cfmakeraw() for illumos and Solaris · 5b6a3335
      Joshua M. Clulow authored
      This change fixes two issues.  First, the current cfmakeraw()
      implementation in this crate appears to be making a stack copy of the
      input "struct termios" before modifying it, rather than correctly
      modifying the original through the pointer.  Before this modification
      the routine did not, thus, set the flags for raw mode.
      
      Second, we address the default settings of the MIN and TIME terminal
      options.  On at least FreeBSD and Linux systems, the modern default
      value for MIN appears to be 1; i.e., block and wait for at least one
      input byte.  On most Solaris and illumos systems, the MIN control
      character slot overlaps with EOF, and thus has a default value of 4.
      This breaks at least the examples in the "termion" crate, and probably
      quite a lot of other software written first and foremost for Linux
      systems.  We need to force the MIN value to 1 while switching to raw
      mode.
      5b6a3335
  2. Apr 03, 2020
  3. Mar 21, 2020
  4. Mar 14, 2020
    • Thomas Hurst's avatar
      Add missing AT_ constants · 5d8dccc7
      Thomas Hurst authored
      Add AT_EACCESS to Linux, Solaris, and Fuchsia.
      
      Add AT_SYMLINK_FOLLOW, AT_REMOVEDIR, and  _AT_TRIGGER to Solaris.
      5d8dccc7
  5. Mar 09, 2020
  6. Mar 01, 2020
  7. Feb 12, 2020
  8. Dec 11, 2019
  9. Dec 08, 2019
  10. Nov 30, 2019
  11. Nov 27, 2019
  12. Nov 25, 2019
  13. Nov 22, 2019
  14. Nov 19, 2019
  15. Nov 14, 2019
  16. Nov 06, 2019
  17. Nov 01, 2019
  18. Oct 13, 2019
  19. Sep 18, 2019
  20. Sep 12, 2019
  21. Sep 02, 2019
    • Alan Somers's avatar
      Deprecate RLIM_NLIMITS · ac1e1240
      Alan Somers authored
      This constant is not stable across OS versions, so it cannot be used in
      any backwards- or forwards- compatible way.  It's typically used to size
      arrays in the kernel and in debugging utilities that are closely tied to
      the OS version.  Since libc is ignorant about OS versions, we shouldn't
      even be defining it.
      ac1e1240
  22. Aug 17, 2019
  23. Jul 05, 2019
  24. Jun 23, 2019
  25. Jun 10, 2019
    • Bryant Mairs's avatar
      Switch to manual trait impls for sigevent · 7c265919
      Bryant Mairs authored
      sigevent structs on most platforms have padding or unused fields. Rather
      than display those in the Debug impl by deriving it, manually implement
      all extra_traits instead ignoring those fields.
      7c265919
  26. Jun 04, 2019
  27. May 29, 2019
  28. May 27, 2019
  29. May 23, 2019
  30. May 22, 2019
Loading