[libmarc-perl] 03/04: Update patch to fix spelling errors in POD

Daniel Lintott dlintott-guest at moszumanska.debian.org
Thu Apr 24 15:05:03 UTC 2014


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

dlintott-guest pushed a commit to branch master
in repository libmarc-perl.

commit 012f3cfaa0ab11a5b0925dcca4e46920279fbfde
Author: Daniel Lintott <daniel at serverb.co.uk>
Date:   Thu Apr 24 15:56:46 2014 +0100

    Update patch to fix spelling errors in POD
---
 debian/patches/fix_pods.patch | 71 +++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 69 insertions(+), 2 deletions(-)

diff --git a/debian/patches/fix_pods.patch b/debian/patches/fix_pods.patch
index f60ea51..26abd28 100644
--- a/debian/patches/fix_pods.patch
+++ b/debian/patches/fix_pods.patch
@@ -1,6 +1,46 @@
+Description: Correct errors in POD
+Author: Rene Mayorga <rmayorga at debian.org>
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=95002
+Last-Update: 2014-04-24
 --- a/MARC.pm
 +++ b/MARC.pm
-@@ -3110,7 +3110,7 @@ other directory and execute from the com
+@@ -768,7 +768,7 @@
+ 	    return;
+ 	}
+ 	open (OUT, "$args->{file}") || mycarp "Couldn't open file: $!";
+-	#above quote is bad if {file} is tainted. Is probably unecessary.dgl.
++	#above quote is bad if {file} is tainted. Is probably unnecessary.dgl.
+         binmode OUT;
+ 	print OUT $output;
+ 	close OUT || mycarp "Couldn't close file: $!";
+@@ -2376,7 +2376,7 @@
+ 		$$rval = $usub;
+ 		$marcrec->field_updatehook($rvictim);
+ 
+-		# The following line is unecessary for this class:
++		# The following line is unnecessary for this class:
+ 		# everything updates due to hard-coded ref
+ 		# relationships in the index.  Left so that subclasses
+ 		# can do their thing with less over-ruling.
+@@ -2491,7 +2491,7 @@
+ 	    return;
+ 	}
+ 	open (OUT, $args->{file}) || mycarp "Couldn't open file: $!";
+-	#above quote is bad if {file} is tainted. Is probably unecessary.dgl.
++	#above quote is bad if {file} is tainted. Is probably unnecessary.dgl.
+         binmode OUT;
+ 	print OUT $output;
+ 	close OUT || mycarp "Couldn't close file: $!";
+@@ -3073,7 +3073,7 @@
+ 
+ =item *
+ 
+-MARC -> URLS : This conversion will extract URLs from a batch of MARC records. The URLs are found in the 856 field, subfield u. The HTML page that is generated can then be used with link-checking software to determine which URLs need to be repaired. Hopefully library system vendors will soon support this activity soon and make this conversion unecessary!
++MARC -> URLS : This conversion will extract URLs from a batch of MARC records. The URLs are found in the 856 field, subfield u. The HTML page that is generated can then be used with link-checking software to determine which URLs need to be repaired. Hopefully library system vendors will soon support this activity soon and make this conversion unnecessary!
+ 
+ =back
+ 
+@@ -3110,7 +3110,7 @@
  
  If you do not get any response that means everything is OK! If you get an
  error like I<Can't locate method "use" via package MARC>.
@@ -9,7 +49,34 @@
  it into the right place during the install.
  
  =back
-@@ -4022,7 +4022,7 @@ sub loc_title {
+@@ -3731,7 +3731,7 @@
+ 
+ =head2 updaterecord()
+ 
+-The updaterecord() method is a more complete version of the preceeding sequence with error checking and the ability to split the update array into multiple addfield() commands when given repeating fields. It takes an array of key/value pairs, formatted like the output of getupdate(), and replaces/creates the field data. For repeated tags, a "\036" element is used to delimit data into separate addfield() commands. It returns the number of successful addfield() commands or C<undef> on failure.
++The updaterecord() method is a more complete version of the preceding sequence with error checking and the ability to split the update array into multiple addfield() commands when given repeating fields. It takes an array of key/value pairs, formatted like the output of getupdate(), and replaces/creates the field data. For repeated tags, a "\036" element is used to delimit data into separate addfield() commands. It returns the number of successful addfield() commands or C<undef> on failure.
+ 
+     $repeats = $x->updaterecord($update246, @u246);	# same as above
+ 
+@@ -3908,7 +3908,7 @@
+ 
+ =head2 as_string()
+ 
+-As_string() takes no paramaters and returns a (Unix) newline separated version of the record.
++As_string() takes no parameters and returns a (Unix) newline separated version of the record.
+ 
+   Format is: $tag<SPACE>$i1$i2<SPACE>$subfields
+   where $subfields are separated by "\c_" binary subfield indicators.
+@@ -3919,7 +3919,7 @@
+ 
+ =head2 from_string()
+ 
+-From_string() takes a string paramater and updates the calling record's {array} information.
++From_string() takes a string parameter and updates the calling record's {array} information.
+ It assumes the string is formatted like the output of as_string(). 
+ 
+ =head1 EXAMPLES
+@@ -4022,7 +4022,7 @@
  
  =head1 NOTES
  

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



More information about the Pkg-perl-cvs-commits mailing list