From: Maximiliano Sandoval R <m.sandoval@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox 0/2] Use IsTerminal trait
Date: Fri, 17 Nov 2023 13:37:37 +0100 [thread overview]
Message-ID: <20231117123739.157277-1-m.sandoval@proxmox.com> (raw)
Small patch series that ports code to IsTerminal.
Since the functions stdout_isatty and stdin_isatty are used in multiple projects
(e.g. Backup Server and Offline Mirror), the function were just modified to use
the new trait instead of being removed.
Maximiliano Sandoval R (2):
sys: Use safe wrapper for libc::isatty
router: Use safe wrapper for libc::isatty
proxmox-router/src/cli/text_table.rs | 4 ++--
proxmox-sys/src/linux/tty.rs | 20 +++++++-------------
2 files changed, 9 insertions(+), 15 deletions(-)
--
2.39.2
next reply other threads:[~2023-11-17 12:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-17 12:37 Maximiliano Sandoval R [this message]
2023-11-17 12:37 ` [pbs-devel] [PATCH proxmox 1/2] sys: Use safe wrapper for libc::isatty Maximiliano Sandoval R
2023-11-19 15:09 ` Thomas Lamprecht
2023-11-20 7:54 ` Fabian Grünbichler
2023-11-20 7:55 ` Maximiliano Sandoval
2023-11-17 12:37 ` [pbs-devel] [PATCH proxmox 2/2] router: " Maximiliano Sandoval R
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231117123739.157277-1-m.sandoval@proxmox.com \
--to=m.sandoval@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox