This is an automated email from the git hooks/post-receive script.

roam-guest pushed a commit to branch master
in repository libconfig-inifiles-perl.

commit 1e065636e7bb1f1d7b9592a298a9b3980205ee19
Author: Peter Pentchev <r...@ringlet.net>
Date:   Sun Nov 27 18:51:38 2016 +0200

    Add the typos patch to correct some errors.
---
 debian/changelog           |   1 +
 debian/patches/series      |   1 +
 debian/patches/typos.patch | 217 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 219 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 960d193..e710e87 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ libconfig-inifiles-perl (2.89-2) UNRELEASED; urgency=medium
   * Switch various upstream and Debian URLs to the HTTPS scheme.
   * Use MetaCPAN as the upstream homepage, remove the references to
     SourceForge.
+  * Add the typos patch to correct some errors.
 
  -- gregor herrmann <gre...@debian.org>  Sat, 20 Aug 2016 02:16:00 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..002796a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+typos.patch
diff --git a/debian/patches/typos.patch b/debian/patches/typos.patch
new file mode 100644
index 0000000..86273fb
--- /dev/null
+++ b/debian/patches/typos.patch
@@ -0,0 +1,217 @@
+Description: Correct some typographical and grammatical errors.
+Forwarded: not-yet
+Author: Peter Pentchev <r...@ringlet.net>
+Last-Update: 2016-11-27
+
+--- a/lib/Config/IniFiles.pm
++++ b/lib/Config/IniFiles.pm
+@@ -216,7 +216,7 @@
+    name=Joseph
+ 
+ Note that Config::IniFiles will also omit the fallback section header when
+-outputing such configuration.
++outputting such configuration.
+ 
+ =item I<-nocase> 0|1
+ 
+@@ -331,7 +331,7 @@
+  value2
+  EOT
+ 
+-As the later might not be compatible with all applications.
++As the latter might not be compatible with all applications.
+ 
+ =item I<-handle_trailing_comment> 0|1
+ 
+@@ -477,7 +477,7 @@
+ 
+   $self->{_comments_at_end_of_file} = [];
+ 
+-  # Any other parameters are unkown
++  # Any other parameters are unknown
+   while (($k, $v) = each %parms) {
+     carp "Unknown named parameter $k=>$v";
+     $errs++;
+@@ -670,7 +670,7 @@
+ 
+ =head2 newval($section, $parameter, $value [, $value2, ...])
+ 
+-Assignes a new value, C<$value> (or set of values) to the
++Assigns a new value, C<$value> (or set of values) to the
+ parameter C<$parameter> in section C<$section> in the configuration
+ file.
+ 
+@@ -743,7 +743,7 @@
+ 
+ =cut
+ 
+-# Auxillary function to make deep (aliasing-free) copies of data
++# Auxiliary function to make deep (aliasing-free) copies of data
+ # structures.  Ignores blessed objects in tree (could be taught not
+ # to, if needed)
+ sub _deepcopy {
+@@ -1187,7 +1187,7 @@
+     }
+ 
+     $self->_add_error(
+-        sprintf("Line %d in file %s is mal-formed:\n\t\%s",
++        sprintf("Line %d in file %s is malformed:\n\t\%s",
+             $self->_read_line_num(), $self->GetFileName(), $line
+         )
+     );
+@@ -1234,16 +1234,16 @@
+     $self->{EOT}    = {};
+     $self->{mysects} = []; # A pair of hashes to remember which params are 
loaded
+     $self->{myparms} = {}; # or set using the API vs. imported - useful for
+-    $self->{peCMT}  = {};  # this will store trailing comments at the end of 
single-lined params
+-    $self->{e}      = {};  # If a section is already exists
+-    $self->{mye}    = {};  # If a section is already exists
++    $self->{peCMT}  = {};  # this will store trailing comments at the end of 
single-line params
++    $self->{e}      = {};  # If a section already exists
++    $self->{mye}    = {};  # If a section already exists
+     # import shadowing, see below, and WriteConfig($fn, -delta=>1)
+ 
+     if( defined $self->{imported} ) {
+         # Run up the import tree to the top, then reload coming
+         # back down, maintaining the imported file names and our
+         # file name.
+-        # This is only needed on a re-load though
++        # This is only needed on a reload though
+         $self->{imported}->ReadConfig() unless ($self->{firstload});
+ 
+         foreach my $field (qw(sects parms group v sCMT pCMT EOT e)) {
+@@ -1459,7 +1459,7 @@
+ 
+ =head2 RenameSection ( $old_section_name, $new_section_name, 
$include_groupmembers)
+ 
+-Renames a section if it does not already exists optionally including 
groupmembers
++Renames a section if it does not already exist optionally including 
groupmembers
+ 
+ =cut
+ 
+@@ -1900,7 +1900,7 @@
+ 
+ Writes OutputConfig to STDOUT. Use select() to redirect STDOUT to
+ the output target before calling this function. Optional argument
+-should be set to 1 if writing only delta. Also see OutputConfigToFileHandle
++should be set to 1 if writing only a delta. Also see OutputConfigToFileHandle
+ 
+ =cut
+ 
+@@ -2406,7 +2406,7 @@
+ 
+ An accessor method to read the trailing comment after the parameter.
+ The trailing comment will be returned if there is one. A null string
+-will be returned if the parameter exists but no comment for it.
++will be returned if the parameter exists but there is no comment for it.
+ otherwise, L<undef> will be returned.
+ 
+ =cut
+@@ -2487,7 +2487,7 @@
+ 
+ Sets the value of C<$parameter> in C<$section> to C<$value>.
+ 
+-To set a multiline or multiv-alue parameter just assign an
++To set a multiline or multi-value parameter just assign an
+ array reference to the hash entry, like this:
+ 
+  $ini{$section}{$parameter} = [$value1, $value2, ...];
+@@ -2593,7 +2593,7 @@
+ # These methods allow you to tie a hash to the
+ # Config::IniFiles object. Note that, when tied, the
+ # user wants to look at thinks like $ini{sec}{parm}, but the
+-# TIEHASH only provides one level of hash interace, so the
++# TIEHASH only provides one level of hash interface, so the
+ # root object gets asked for a $ini{sec}, which this
+ # implements. To further tie the {parm} hash, the internal
+ # class Config::IniFiles::_section, is provided, below.
+@@ -2745,9 +2745,9 @@
+ # Args: $thing
+ #   $thing  An input source
+ #
+-# Description: Takes an input source of a filehandle,
++# Description: Takes an input source - a filehandle,
+ # filehandle glob, reference to a filehandle glob, IO::File
+-# object or scalar filename and returns a file handle to
++# object or scalar filename - and returns a file handle to
+ # read from it with.
+ # ----------------------------------------------------------
+ # Date      Modification                              Author
+@@ -2957,7 +2957,7 @@
+ # Sub: Config::IniFiles::_section::NEXTKEY
+ #
+ # Args: $last
+-#   $last   The last key accessed by the interator
++#   $last   The last key accessed by the iterator
+ #
+ # Description: Returns the next key in line
+ # ----------------------------------------------------------
+--- a/t/05hash.t
++++ b/t/05hash.t
+@@ -25,7 +25,7 @@
+     (tie %ini, 'Config::IniFiles',
+     ( -file => t_file("test.ini"), -default => 'test1', -nocase => 1 )
+     ),
+-    "Tie to test.ini was succesful."
++    "Tie to test.ini was successful."
+ );
+ 
+ tied(%ini)->SetFileName(t_file("test05.ini"));
+@@ -138,7 +138,7 @@
+ is ($value, 'value4', "Store new section in hash");
+ 
+ # Test 16
+-# Writing 2 line multilvalue and returing it
++# Writing 2 line multivalue and returning it
+ $ini{newsect} = {};
+ $ini{test1}{multi_2} = ['line 1', 'line 2'];
+ tied(%ini)->RewriteConfig;
+@@ -146,7 +146,7 @@
+ @value = @{$ini{test1}{multi_2}};
+ # TEST
+ is_deeply ( \@value, ['line 1', 'line 2'],
+-    "Writing 2 line multilvalue and returing it"
++    "Writing 2 line multivalue and returning it"
+ );
+ 
+ # Test 17
+--- a/t/25line-endings.t
++++ b/t/25line-endings.t
+@@ -24,7 +24,7 @@
+     # being pedantic, we don't take line breaks from this or an external file 
for granted
+     my $sample_ini =
+     "<eol>
+-    <sol># this is a sample file for testing the proper detection of line 
endings in Config::Inifiles<eol>
++    <sol># this is a sample file for testing the proper detection of line 
endings in Config::IniFiles<eol>
+     <sol><eol>
+     <sol>[single values]<eol>
+     <sol>firstval = first value<eol>
+@@ -32,7 +32,7 @@
+     <sol><eol>
+     <sol># in v2.52 on linux multi values with crlf lines are failing<eol>
+     <sol>[multi value]<eol>
+-    <sol>Pathes=<<EOT<eol>
++    <sol>Paths=<<EOT<eol>
+     <sol>path1<eol>
+     <sol>path2<eol>
+     <sol>EOT<eol>
+@@ -69,7 +69,7 @@
+             "Reading a single value from a '$lf_print'-separated file"
+         );
+ 
+-        my @vals = $cfg->val("multi value", "Pathes");
++        my @vals = $cfg->val("multi value", "Paths");
+ 
+         # TEST
+         is_deeply(
+--- a/t/cmt.ini
++++ b/t/cmt.ini
+@@ -10,7 +10,7 @@
+ @
+ [Library]
+ work              = $WORKAREA/project_lib/debobj.lib++
+-synopsys          = $VHDL_PACKAGES_DEB/synopsys/$DEBOBJ_VERSION
++synopsis          = $VHDL_PACKAGES_DEB/synopsis/$DEBOBJ_VERSION
+ ieee              = $VHDL_PACKAGES_DEB/IEEE/$DEBOBJ_VERSION
+ std_developerskit = 
$VHDL_PACKAGES_DEB/sdk/std_developerskit.lib/$DEBOBJ_VERSION
+ gtech             = $VHDL_PACKAGES_DEB/gtech/$DEBOBJ_VERSION

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-inifiles-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to