7 Commits

Author SHA1 Message Date
Alan Somers
221eac1e8f Reenable tests that only failed on Travis, since we no longer use it. 2021-06-12 17:22:51 -06:00
Amanda Tait
5846ae2afd
Add fuchsia support
Allow nix to compile on Fuchsia by conditionally avoiding libc
functionality that does not exist for Fuchsia.
2020-12-19 14:17:42 -05:00
Alan Somers
fb76c213ed Fix test_ptymaster_drop after PR #1098
This test cannot be compiled under Redox.  PR #1098 attempted to disable
it for Redox, but actually disabled it everywhere.  AFAICT, Cargo has no
syntax to conditionally enable a target, except based on features.
Instead, use conditional compilation within the test.
2020-05-31 19:07:15 -06:00
Alan Somers
1ae5dd8b16 Convert the crate to edition 2018 2020-05-31 19:07:15 -06:00
Bryant Mairs
68859b9c18 Add backticks to types in doccomments 2017-12-20 07:05:04 -08:00
Bryant Mairs
e1baab9dc1 Upgrade to Bitflags 1.0
The libc_bitflags! macro was replaced with a non-recursive one supporting
only public structs. I could not figure out how to make the old macro work
with the upgrade, so I reworked part of the bitflags! macro directly to suit
our needs, much as the original recursive macro was made. There are no uses
of this macro for non-public structs, so this is not a problem for internal code.
2017-12-02 10:46:34 -08:00
Alan Somers
5fb4cebcc6 PtyMaster::drop should panic on EBADF
Also, document the double-close risk with unistd::close

Fixes #659
2017-07-15 23:06:45 -06:00