aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/dictd/files/patch-libmaa::log.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/dictd/files/patch-libmaa::log.c b/net/dictd/files/patch-libmaa::log.c
new file mode 100644
index 000000000000..183882fb8abb
--- /dev/null
+++ b/net/dictd/files/patch-libmaa::log.c
@@ -0,0 +1,11 @@
+--- libmaa/log.c.orig Sat Jun 22 14:12:51 2002
++++ libmaa/log.c Sat Jun 22 14:12:56 2002
+@@ -245,7 +245,7 @@
+ {
+ if (logFd >= 0) close( logFd );
+ if (logUserStream != stdout && logUserStream != stderr)
+- fclose( logUserStream );
++ if (logUserStream) fclose( logUserStream );
+ if (logSyslog) closelog();
+ if (logFilename) xfree(logFilename);
+ if (logFilenameTmp) xfree(logFilenameTmp);