From 36a0a27c7cc6809457f6f3af5420262bf94153c8 Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Thu, 21 Feb 2008 16:38:11 +0000 Subject: - Fix typo in io.c, I had .INIT instead of .INI Reported by: Walt Legowski, WA1KKM, kb author in private e-mail --- comms/kb/Makefile | 1 + comms/kb/files/patch-io.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'comms') diff --git a/comms/kb/Makefile b/comms/kb/Makefile index f67740970bf4..ec21091d948f 100644 --- a/comms/kb/Makefile +++ b/comms/kb/Makefile @@ -6,6 +6,7 @@ PORTNAME= kb PORTVERSION= 7.09 +PORTREVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= http://www.db.net/downloads/ \ ${MASTER_SITE_LOCAL} diff --git a/comms/kb/files/patch-io.c b/comms/kb/files/patch-io.c index 041ea0655cb5..aea395044f47 100644 --- a/comms/kb/files/patch-io.c +++ b/comms/kb/files/patch-io.c @@ -1,5 +1,5 @@ --- io.c.orig 2007-07-01 15:19:57.000000000 -0400 -+++ io.c 2007-11-24 18:14:00.000000000 -0500 ++++ io.c 2008-02-21 11:30:53.000000000 -0500 @@ -17,6 +17,7 @@ static void rewrite_contest_file(void); static void write_call_library_file(void); @@ -377,7 +377,7 @@ - strcpy(filnam, contest_file_base); - strcat(filnam, ".INI"); -+ snprintf(filnam, sizeof(filnam), "%s.INIT", contest_file_base); ++ snprintf(filnam, sizeof(filnam), "%s.INI", contest_file_base); fp = fopen(filnam, "w"); if(fp==NULL) { -- cgit v1.2.3