ports/benchmarks/netperf/files/patch-src_netserver.c
Marius Strobl 3e1f667a34 benchmarks/netperf: Update to 20210121 version
For the most part, this complicates the build, moves the debug log from
/tmp to /var/log and changes debugging to default to off. Also:
- Don't let netserver chmod(2) /dev/null to 644 when debug log is off.
- Take back port.

Approved by:	netchild
2023-04-15 21:01:48 +02:00

11 lines
268 B
C

--- src/netserver.c.orig 2021-01-21 16:02:24 UTC
+++ src/netserver.c
@@ -260,8 +260,6 @@ open_debug_file()
#if !defined(WIN32)
- chmod(FileName,0644);
-
/* redirect stdin to "/dev/null" */
rd_null_fp = fopen(NETPERF_NULL,"r");
if (NULL == rd_null_fp) {