aboutsummaryrefslogtreecommitdiff
path: root/net/hcxdumptool/patches/020-stdout.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net/hcxdumptool/patches/020-stdout.patch')
-rw-r--r--net/hcxdumptool/patches/020-stdout.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/net/hcxdumptool/patches/020-stdout.patch b/net/hcxdumptool/patches/020-stdout.patch
deleted file mode 100644
index 53c6147cf..000000000
--- a/net/hcxdumptool/patches/020-stdout.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From 63012853a81aa623f09304baf1f5b0b69f1ebfbd Mon Sep 17 00:00:00 2001
-From: Tristian <2220506+Tristian@users.noreply.github.com>
-Date: Tue, 16 Mar 2021 16:17:07 -0400
-Subject: [PATCH] fix assignment of read-only variable 'stdout'
-
-- stdout cannot be reassigned on some systems i.e OpenWRT on mipsel
----
- hcxdumptool.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/hcxdumptool.c
-+++ b/hcxdumptool.c
-@@ -7958,7 +7958,7 @@ while((auswahl = getopt_long(argc, argv,
- else
- {
- fd_pcapng = fileno(stdout);
-- stdout = fopen("/dev/null", "w");
-+ freopen("/dev/null", "w", stdout);
- }
- }
- pcapngoutname = optarg;