Bug 83244 - devel/dotconf++: spell corrections
Summary: devel/dotconf++: spell corrections
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-11 06:30 UTC by Mark Starovoytov
Modified: 2005-07-13 19:23 UTC (History)
0 users

See Also:


Attachments
file.shar (6.40 KB, text/plain)
2005-07-11 06:30 UTC, Mark Starovoytov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Starovoytov 2005-07-11 06:30:18 UTC
spell corrections
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2005-07-11 07:16:09 UTC
State Changed
From-To: open->feedback

Please submit port updates as diffs using diff -ruN; only new ports should 
be submitted as shars.  Thanks.
Comment 2 Mark Starovoytov 2005-07-12 10:53:30 UTC
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 ====
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2005-07-12 15:49:40 UTC
State Changed
From-To: feedback->open

feedback received.
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-13 19:23:45 UTC
State Changed
From-To: open->closed

Committed, thanks!