mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
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
11 lines
268 B
C
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) {
|