ports/83244: devel/dotconf++: spell corrections

Mark Starovoytov mark at kikg.ifmo.ru
Tue Jul 12 10:00:31 UTC 2005


The following reply was made to PR ports/83244; it has been noted by GNATS.

From: Mark Starovoytov <mark at kikg.ifmo.ru>
To: bug-followup at FreeBSD.org, mark_sf at kikg.ifmo.ru
Cc: Mark Linimon <linimon at lonesome.com>
Subject: Re: ports/83244: devel/dotconf++: spell corrections
Date: Tue, 12 Jul 2005 13:53:30 +0400 (MSD)

 diff for making changes.
 
 === dotconff++files.diff begins ===
 diff -urN files.orig/patch-README files/patch-README
 --- files.orig/patch-README	Thu Jan  1 03:00:00 1970
 +++ files/patch-README	Thu Jul  7 17:01:54 2005
 @@ -0,0 +1,14 @@
 +--- README.orig	Fri May 16 12:25:35 2003
 ++++ README	Thu Jul  7 17:01:27 2005
 +@@ -80,9 +80,9 @@
 +          1. Opening configuration file
 +                 * Create configuration document object:
 + 
 +-                  DOTCONFDocument * conf = new DOTCONFDocument(DOTCONFDocument::CASEINSENSETIVE);
 ++                  DOTCONFDocument * conf = new DOTCONFDocument(DOTCONFDocument::CASEINSENSITIVE);
 +                   or
 +-                  DOTCONFDocument * conf = new DOTCONFDocument(DOTCONFDocument::CASESENSETIVE);
 ++                  DOTCONFDocument * conf = new DOTCONFDocument(DOTCONFDocument::CASESENSITIVE);
 +                 * [OPTIONAL] Set required options
 + 
 +                   const char * requiredOptions[] = {"Users", NULL};
 diff -urN files.orig/patch-doc-dotconfpp.html files/patch-doc-dotconfpp.html
 --- files.orig/patch-doc-dotconfpp.html	Thu Jan  1 03:00:00 1970
 +++ files/patch-doc-dotconfpp.html	Thu Jul  7 17:07:24 2005
 @@ -0,0 +1,15 @@
 +--- doc/dotconfpp.html.orig	Fri May 16 12:26:05 2003
 ++++ doc/dotconfpp.html	Thu Jul  7 17:06:38 2005
 +@@ -133,10 +133,10 @@
 +       <li>Create configuration document object:<br>
 +         <br style="color: rgb(0, 0, 255);">
 +         <span style="color: rgb(0, 0, 255);">DOTCONFDocument * conf =
 +-new DOTCONFDocument(DOTCONFDocument::CASEINSENSETIVE);<br>
 ++new DOTCONFDocument(DOTCONFDocument::CASEINSENSITIVE);<br>
 +         <span style="color: rgb(0, 0, 0);">or<br>
 +         </span></span><span style="color: rgb(0, 0, 255);">DOTCONFDocument
 +-* conf = new DOTCONFDocument(DOTCONFDocument::CASESENSETIVE);<br>
 ++* conf = new DOTCONFDocument(DOTCONFDocument::CASESENSITIVE);<br>
 +         <br>
 +         </span></li>
 +       <li><span style="color: rgb(0, 0, 255);"><span
 diff -urN files.orig/patch-src-dotconfpp.cc files/patch-src-dotconfpp.cc
 --- files.orig/patch-src-dotconfpp.cc	Thu Jan  1 03:00:00 1970
 +++ files/patch-src-dotconfpp.cc	Thu Jul  7 17:04:22 2005
 @@ -0,0 +1,11 @@
 +--- src/dotconfpp.cc.orig	Fri Jun 25 14:03:20 2004
 ++++ src/dotconfpp.cc	Thu Jul  7 17:03:58 2005
 +@@ -53,7 +53,7 @@
 +     mempool(NULL),
 +     curParent(NULL), curPrev(NULL), curLine(0), file(NULL), fileName(NULL)
 + {
 +-    if(caseSensitivity == CASESENSETIVE){
 ++    if(caseSensitivity == CASESENSITIVE){
 +         cmp_func = strcmp;
 +     } else {
 +         cmp_func = strcasecmp;
 diff -urN files.orig/patch-src-dotconfpp.h files/patch-src-dotconfpp.h
 --- files.orig/patch-src-dotconfpp.h	Thu Jan  1 03:00:00 1970
 +++ files/patch-src-dotconfpp.h	Thu Jul  7 17:03:30 2005
 @@ -0,0 +1,20 @@
 +--- src/dotconfpp.h.orig	Wed May 14 19:10:26 2003
 ++++ src/dotconfpp.h	Thu Jul  7 17:02:43 2005
 +@@ -75,7 +75,7 @@
 + class DOTCONFDocument
 + {
 + public:
 +-    enum CaseSensitive { CASESENSETIVE, CASEINSENSETIVE };
 ++    enum CaseSensitive { CASESENSITIVE, CASEINSENSITIVE };
 + protected:
 +     AsyncDNSMemPool * mempool; 
 + private:
 +@@ -103,7 +103,7 @@
 +     virtual void error(int lineNum, const char * fileName, const char * fmt, ...);
 + 
 + public:
 +-    DOTCONFDocument(CaseSensitive caseSensitivity = CASESENSETIVE);
 ++    DOTCONFDocument(CaseSensitive caseSensitivity = CASESENSITIVE);
 +     virtual ~DOTCONFDocument();
 + 
 +     int setContent(const char * _fileName);
 diff -urN files.orig/patch-src-example1.cc files/patch-src-example1.cc
 --- files.orig/patch-src-example1.cc	Thu Jan  1 03:00:00 1970
 +++ files/patch-src-example1.cc	Thu Jul  7 17:06:01 2005
 @@ -0,0 +1,11 @@
 +--- src/example1/example1.cc.orig	Sat Apr 10 17:22:00 2004
 ++++ src/example1/example1.cc	Thu Jul  7 17:05:04 2005
 +@@ -54,7 +54,7 @@
 + 
 + int main()
 + { 
 +-    DOTCONFDocument *conf = new DOTCONFDocument(DOTCONFDocument::CASEINSENSETIVE);
 ++    DOTCONFDocument *conf = new DOTCONFDocument(DOTCONFDocument::CASEINSENSITIVE);
 +     const DOTCONFDocumentNode * node = NULL;
 +     const char * v = NULL;
 +     char * fqdn = NULL;
 diff -urN files.orig/patch-src-example2.cc files/patch-src-example2.cc
 --- files.orig/patch-src-example2.cc	Thu Jan  1 03:00:00 1970
 +++ files/patch-src-example2.cc	Thu Jul  7 17:06:10 2005
 @@ -0,0 +1,11 @@
 +--- src/example2/example2.cc.orig	Thu Jul  7 17:05:21 2005
 ++++ src/example2/example2.cc	Thu Jul  7 17:05:27 2005
 +@@ -51,7 +51,7 @@
 + 
 + int main(int argc, char * argv[])
 + { 
 +-    DOTCONFDocument conf(DOTCONFDocument::CASEINSENSETIVE);
 ++    DOTCONFDocument conf(DOTCONFDocument::CASEINSENSITIVE);
 + 
 +     conf.setRequiredOptionNames(requiredOptions);
 + 
 ==== dotconff++files.diff ends ====



More information about the freebsd-ports-bugs mailing list