From a00ef4aa2ecea56dae09095cda16f93ac9a8ca8c Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Sun, 10 Feb 2019 00:14:42 -0600 Subject: [PATCH] Wrap long lines --- src/redirection.cpp | 3 ++- src/redirection.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/redirection.cpp b/src/redirection.cpp index e5cccebd9..64acdda23 100644 --- a/src/redirection.cpp +++ b/src/redirection.cpp @@ -37,7 +37,8 @@ maybe_t dup2_list_t::resolve_chain(const io_chain_t &io_chain) { return none(); } - // If by chance we got the file we want, we're done. Otherwise move the fd to an unused place and dup2 it. + // If by chance we got the file we want, we're done. Otherwise move the fd to an + // unused place and dup2 it. // Note move_fd_to_unused() will close the incoming file_fd. if (file_fd != io_file->fd) { file_fd = move_fd_to_unused(file_fd, io_chain, false /* cloexec */); diff --git a/src/redirection.h b/src/redirection.h index 95cc8fac0..3f1902e8a 100644 --- a/src/redirection.h +++ b/src/redirection.h @@ -57,7 +57,8 @@ public: const std::vector &get_actions() const { return actions_; } /// Produce a dup_fd_list_t from an io_chain. This may not be called before fork(). - /// The result contains the list of fd actions (dup2 and close), as well as the list of fds opened. + /// The result contains the list of fd actions (dup2 and close), as well as the list + /// of fds opened. static maybe_t resolve_chain(const io_chain_t &); };