summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-07-15 03:11:40 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-07-15 03:11:40 +0000
commit367a9af67619e54f636259fd4afaa668ccaa1c06 (patch)
tree79788f81cbcc8aa9a69be37bc3f6bc5b3458fb3b /news
parentFix build with OpenSSL. (diff)
files/patch-send-fidogate.in: fix send-fidogate warnings
files/patch-ngoper.c: if AutoCreateRenumberCmd is not defined, this is silently skipped Submitted by: maintainer Approved by: krion (mentor)
Notes
Notes: svn path=/head/; revision=113680
Diffstat (limited to 'news')
-rw-r--r--news/fidogate-ds/files/patch-ngoper.c40
-rw-r--r--news/fidogate-ds/files/patch-send-fidogate.in10
2 files changed, 50 insertions, 0 deletions
diff --git a/news/fidogate-ds/files/patch-ngoper.c b/news/fidogate-ds/files/patch-ngoper.c
new file mode 100644
index 000000000000..8b97d1b12a19
--- /dev/null
+++ b/news/fidogate-ds/files/patch-ngoper.c
@@ -0,0 +1,40 @@
+--- src/toss/ngoper.c.old Wed Jul 14 16:13:34 2004
++++ src/toss/ngoper.c Sat Jul 10 17:34:20 2004
+@@ -20,7 +20,7 @@
+ int c;
+ int option_index;
+ int remove;
+- char *cmd_ng, *cmd_rn, *cmd_rm;
++ char *cmd_ng, *cmd_rn = NULL, *cmd_rm;
+ char *c_flag=NULL;
+ char *p;
+ char buf[BUFSIZ];
+@@ -106,12 +106,6 @@
+ debug(8, "config: AutoCreateRenumberCmd %s", p);
+ cmd_rn = p;
+ }
+- else
+- {
+- printf("config: parameter `AutoCreateRenumberCmd' not defined!\n");
+- exit_free();
+- exit(1);
+- }
+
+ /* AutoCreateRmgroupCmd */
+ if (NULL != (p = cf_get_string("AutoCreateRmgroupCmd", TRUE)))
+@@ -136,9 +130,12 @@
+ if (0 != run_system(buf))
+ return 1;
+
+- str_printf(buf, sizeof(buf), cmd_rn, argv[optind+1]);
+- if (0 != run_system(buf))
+- return 1;
++ if (cmd_rn)
++ {
++ str_printf(buf, sizeof(buf), cmd_rn, argv[optind+1]);
++ if (0 != run_system(buf))
++ return 1;
++ }
+ }
+ else
+ {
diff --git a/news/fidogate-ds/files/patch-send-fidogate.in b/news/fidogate-ds/files/patch-send-fidogate.in
new file mode 100644
index 000000000000..f0ca8a89bcb1
--- /dev/null
+++ b/news/fidogate-ds/files/patch-send-fidogate.in
@@ -0,0 +1,10 @@
+--- src/gate/send-fidogate.in.old Wed Jul 14 16:10:57 2004
++++ src/gate/send-fidogate.in Wed Jul 14 16:11:10 2004
+@@ -10,7 +10,6 @@
+ export FIDOGATE_LOGFILE
+
+ eval `<NEWSBINDIR>/innconfval -s`
+-eval `<LIBEXECDIR>/confval`
+
+ RFC2FTN=<SEND_RFC2FTN>
+ PROGNAME=`basename $0`