- Apr 04, 2020
-
-
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.
-
- Mar 29, 2020
-
-
Patrick Mooney authored
-
- Mar 28, 2020
-
-
Niels Sascha Reedijk authored
* Function futimes is not available in Haiku. * Functions futimens and utimensat are. * Cleanup some leftover cfg_attr attributes.
-
- Mar 26, 2020
-
-
Ivan Tham authored
Fix #1631
-
- Mar 25, 2020
-
-
Sergio Lopez authored
This is a Linux-only feature that was already present as a syscall. Add it just to linux/gnu for the moment, as the musl version bundled in the Rust's x86_64-unknown-linux-musl toolchain doesn't include it yet. Signed-off-by:
Sergio Lopez <slp@redhat.com>
-
- Mar 21, 2020
-
-
Torbjørn Birch Moltu authored
References: * NetBSD (became available with 8.0): http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/socket.h?annotate=1.129&only_with_tag=MAIN http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/sys/accept4.c?annotate=1.2&only_with_tag=MAIN * Illumos: https://illumos.org/man/3socket/accept https://github.com/illumos/illumos-gate/blob/master/usr/src/uts/common/sys/socket.h https://github.com/illumos/illumos-gate/blob/master/usr/src/lib/libsocket/socket/weaks.c * Solaris: https://docs.oracle.com/cd/E88353_01/html/E37843/accept-3c.html
-
- Mar 20, 2020
-
-
Alex Crichton authored
-
- Mar 18, 2020
-
-
Lzu Tao authored
-
- Mar 17, 2020
-
-
Yuki Okushi authored
-
- Mar 15, 2020
-
-
Árni Dagur authored
-
- Mar 14, 2020
-
-
Thomas Hurst authored
Add AT_EACCESS to Linux, Solaris, and Fuchsia. Add AT_SYMLINK_FOLLOW, AT_REMOVEDIR, and _AT_TRIGGER to Solaris.
-
Yuki Okushi authored
-
- Mar 13, 2020
-
-
Connor Kuehl authored
-
Connor Kuehl authored
-
Connor Kuehl authored
-
- Mar 10, 2020
-
-
Andre Nathan authored
-
- Mar 09, 2020
-
-
John Baublitz authored
-
Richard Wiedenhöft authored
-
Vita Batrla authored
-
- Mar 08, 2020
-
-
Frank Denis authored
-
Mikail Bagishov authored
-
Yuki Okushi authored
-
zonyitoo authored
-
Darcy Liu authored
-
- Mar 06, 2020
-
-
Benjamin Saunders authored
-
- Mar 04, 2020
-
-
Yuki Okushi authored
-
- Mar 01, 2020
-
-
Daniel Fox Franke authored
-
Daniel Fox Franke authored
-
Daniel Fox Franke authored
-
Michal 'vorner' Vaner authored
Constants for the linux nfqueue netlink protocol (userspace firewall). Continuation of #1562 and #1571.
-
- Feb 29, 2020
-
-
Andreas Schwab authored
-
Andreas Schwab authored
-
Andreas Schwab authored
-
Andreas Schwab authored
-
Yuki Okushi authored
-
zonyitoo authored
fix #1633
-
- Feb 28, 2020
-