Commit Graph

5 Commits

Author SHA1 Message Date
Josh Megnauth 6e76601529 Simplify Pty::path with write!
Pty::path is a manual implementation of write! that also allocates.
Using write! avoids the alloc and is simpler too.

The original function didn't return an error even if called with a small
buffer and this version preserves that.
2025-08-31 01:58:33 -04:00
Josh Megnauth 1744adb7c1 Add _POSIX_VDISABLE to disable control chars
This is a POSIX extension to disable control chars when set in the c_cc
array. Fish and other programs use it.

See:
* redox-os/relibc!689
* redox-os/termios!3
2025-08-14 01:07:00 -04:00
4lDO2 514741898c pty scheme fixes 2025-04-18 10:07:00 +02:00
bjorn3 8286249ff7 Remove unreachable dup impls
Dup calls with an empty path never reach scheme implementations
2025-03-30 17:51:07 +02:00
bjorn3 1b1c6abc62 Add 'ptyd/' from commit '4ba5c4ead35a7e8458af89e565c46c275f304ef4'
git-subtree-dir: ptyd
git-subtree-mainline: b33f98968c
git-subtree-split: 4ba5c4ead3
2025-02-21 20:11:54 +01:00