[libio-async-perl] 04/05: Add a patch to fix spelling mistakes in the POD.
gregor herrmann
gregoa at debian.org
Mon Dec 21 20:09:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libio-async-perl.
commit de79e20c3c9389f6550a2be7bb2a5c524d9dfc66
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Dec 21 21:08:06 2015 +0100
Add a patch to fix spelling mistakes in the POD.
---
debian/patches/series | 1 +
debian/patches/spelling.patch | 93 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5299247
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
new file mode 100644
index 0000000..479c82b
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,93 @@
+Description: fix some spelling mistakes
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-12-21
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=110493
+Bug: https://rt.cpan.org/Ticket/Display.html?id=110493
+
+--- a/lib/IO/Async/Function.pm
++++ b/lib/IO/Async/Function.pm
+@@ -359,7 +359,7 @@
+
+ $on_result->( 'return', @values )
+
+-If the code threw an exception, or some other error occured such as a closed
++If the code threw an exception, or some other error occurred such as a closed
+ connection or the process died, it is called as:
+
+ $on_result->( 'error', $exception_name )
+--- a/lib/IO/Async/Loop/Poll.pm
++++ b/lib/IO/Async/Loop/Poll.pm
+@@ -182,7 +182,7 @@
+ }
+ }
+
+- # Since we have no way to know if the timeout occured, we'll have to
++ # Since we have no way to know if the timeout occurred, we'll have to
+ # attempt to fire any waiting timeout events anyway
+ $count += $self->_manage_queues;
+
+@@ -231,7 +231,7 @@
+
+ if( ( $pollret == -1 and $! == EINTR ) or $pollret == 0
+ and defined $self->{sigproxy} ) {
+- # A signal occured and we have a sigproxy. Allow one more poll call
++ # A signal occurred and we have a sigproxy. Allow one more poll call
+ # with zero timeout. If it finds something, keep that result. If it
+ # finds nothing, keep -1
+
+--- a/lib/IO/Async/Loop/Select.pm
++++ b/lib/IO/Async/Loop/Select.pm
+@@ -199,7 +199,7 @@
+ }
+ }
+
+- # Since we have no way to know if the timeout occured, we'll have to
++ # Since we have no way to know if the timeout occurred, we'll have to
+ # attempt to fire any waiting timeout events anyway
+
+ $self->_manage_queues;
+--- a/lib/IO/Async/Socket.pm
++++ b/lib/IO/Async/Socket.pm
+@@ -85,7 +85,7 @@
+ Optional. Invoked when the C<send> method on the sending handle fails.
+
+ The C<on_recv_error> and C<on_send_error> handlers are passed the value of
+-C<$!> at the time the error occured. (The C<$!> variable itself, by its
++C<$!> at the time the error occurred. (The C<$!> variable itself, by its
+ nature, may have changed from the original error by the time this handler
+ runs so it should always use the value passed in).
+
+--- a/lib/IO/Async/Stream.pm
++++ b/lib/IO/Async/Stream.pm
+@@ -153,7 +153,7 @@
+ Optional. Invoked when the C<syswrite> method on the write handle fails.
+
+ The C<on_read_error> and C<on_write_error> handlers are passed the value of
+-C<$!> at the time the error occured. (The C<$!> variable itself, by its
++C<$!> at the time the error occurred. (The C<$!> variable itself, by its
+ nature, may have changed from the original error by the time this handler
+ runs so it should always use the value passed in).
+
+--- a/lib/IO/Async/Test.pm
++++ b/lib/IO/Async/Test.pm
+@@ -69,7 +69,7 @@
+
+ In order to write a test, the C<wait_for> function provides a way of
+ synchronising the code, so that a given condition is known to hold, which
+-would typically signify that some event has occured, the outcome of which can
++would typically signify that some event has occurred, the outcome of which can
+ now be tested using the usual testing primitives.
+
+ Because the primary purpose of L<IO::Async> is to provide IO operations on
+--- a/lib/IO/Async/FileStream.pm
++++ b/lib/IO/Async/FileStream.pm
+@@ -305,7 +305,7 @@
+ $success = $filestream->seek_to_last( $str_pattern, %opts )
+
+ Callable only during the C<on_initial> event. Attempts to move the read
+-position in the filehandle to just after the last occurance of a given match.
++position in the filehandle to just after the last occurrence of a given match.
+ C<$str_pattern> may be a literal string or regexp pattern.
+
+ Returns a true value if the seek was successful, or false if not. Takes the
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libio-async-perl.git
More information about the Pkg-perl-cvs-commits
mailing list