Source: nn
Version: 6.7.3-14
Severity: normal
Tags: patch

Dear Maintainer,

>From 1453159264b48d40ba5d6d3f70ec5571963412f2 Mon Sep 17 00:00:00 2001
>From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
>Date: Wed, 3 Mar 2021 01:13:35 +0000
>Subject: [PATCH] prefix.c: remove special case "log_file == NULL"

  prefix.c: remove special case "log_file == NULL"

Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
---
 prefix.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/prefix.c b/prefix.c
index 56e5a2c..b8fedb4 100644
--- a/prefix.c
+++ b/prefix.c
@@ -73,11 +73,14 @@ make_nn_prefix(int flag, FILE * f)
     fprintf(f, "ACTIVE=%s/active\n", news_lib_directory);
 #endif
 
+/*
     if (log_file == NULL) {
        fprintf(f, "LOG=null\n");
     } else {
        fprintf(f, "LOG=%s\n", log_file);
     }
+*/
+    fprintf(f, "LOG=%s\n", log_file);
     fprintf(f, "TMP=${TMPDIR-%s}\n", tmp_directory);
     fprintf(f, "DB=%s\n", db_directory);
     fprintf(f, "BIN=%s\n", bin_directory);
-- 
2.30.1



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.9-1 (SMP w/2 CPU threads)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), 
LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

-- debconf information excluded

-- 
Bjarni I. Gislason

Reply via email to