diff options
author | Tianling Shen <cnsztl@immortalwrt.org> | 2021-03-18 13:12:13 +0800 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-03-18 22:18:14 -1000 |
commit | ccfe1bfa508e7041c4b5f902f1354ef9566bff28 (patch) | |
tree | df9454e5c6dfc27c8e6d153f4e26cde69a1b30f3 /net/tmate/patches/010-Avoid-initializing-stdout-twice.patch | |
parent | cfc965b10754fea8c71dad79e6b4cd7c02f47a9b (diff) |
tmate: add new package
Tmate is a fork of tmux. It provides an instant pairing solution.
For more details, see https://tmate.io.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Diffstat (limited to 'net/tmate/patches/010-Avoid-initializing-stdout-twice.patch')
-rw-r--r-- | net/tmate/patches/010-Avoid-initializing-stdout-twice.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/tmate/patches/010-Avoid-initializing-stdout-twice.patch b/net/tmate/patches/010-Avoid-initializing-stdout-twice.patch new file mode 100644 index 000000000..ca2d7030d --- /dev/null +++ b/net/tmate/patches/010-Avoid-initializing-stdout-twice.patch @@ -0,0 +1,22 @@ +From 9e3e39d66ddb4a610720fa37a5683c846d2a1ba6 Mon Sep 17 00:00:00 2001 +From: Nicolas Viennot <nicolas@viennot.biz> +Date: Wed, 11 Mar 2020 11:30:33 -0400 +Subject: [PATCH] Avoid initializing stdout twice + +Closes #190 +--- + log.c | 3 +++ + 1 file changed, 3 insertions(+) + +--- a/log.c ++++ b/log.c +@@ -61,6 +61,9 @@ log_get_level(void) + void + log_open_fp(FILE *f) + { ++ if (log_file == f) ++ return; ++ + if (log_file != NULL && !is_log_stdout()) + fclose(log_file); + |