]> git.ipfire.org Git - pakfire.git/commit
pty: Fix setting raw mode
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 6 Oct 2024 16:57:46 +0000 (16:57 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 6 Oct 2024 16:57:46 +0000 (16:57 +0000)
commitc1388a06fa69bed268c35e6a715bb027402c9cfe
tree0d460030c726061ebe1f5c11aaf163a893bd364b
parent759ad7fbbd1c2db8860eaf65f6ab5ac602466d53
pty: Fix setting raw mode

If the standard input & output share the same inode, we can't overwrite
the attributes and need to take care of this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/pty.c