[libfile-homedir-perl] 07/09: add spelling.patch (from RT#86426) fixing a couple of typos

Damyan Ivanov dmn at moszumanska.debian.org
Wed Oct 25 09:58:37 UTC 2017


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

dmn pushed a commit to branch master
in repository libfile-homedir-perl.

commit 19f385091196c281bf14a4a49d9fc5481f122621
Author: Damyan Ivanov <dmn at debian.org>
Date:   Wed Oct 25 09:54:55 2017 +0000

    add spelling.patch (from RT#86426) fixing a couple of typos
---
 debian/patches/series         |  1 +
 debian/patches/spelling.patch | 49 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 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..ad495d3
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,49 @@
+Description: correct seceral POD/comment typos
+ typicaly → typically
+Author: dsteinbrunner
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=86426
+
+--- a/lib/File/HomeDir.pm
++++ b/lib/File/HomeDir.pm
+@@ -360,7 +360,7 @@ File::HomeDir - Find your home and other
+ =head1 DESCRIPTION
+ 
+ B<File::HomeDir> is a module for locating the directories that are "owned"
+-by a user (typicaly your user) and to solve the various issues that arise
++by a user (typically your user) and to solve the various issues that arise
+ trying to find them consistently across a wide variety of platforms.
+ 
+ The end result is a single API that can find your resources on any platform,
+@@ -448,7 +448,7 @@ does not have a home directory, or dies
+ The C<my_desktop> method takes no arguments and returns the "desktop"
+ directory for the current user.
+ 
+-Due to the diversity and complexity of implementions required to deal with
++Due to the diversity and complexity of implementations required to deal with
+ implementing the required functionality fully and completely, the
+ C<my_desktop> method may or may not be implemented on each platform.
+ 
+--- a/lib/File/HomeDir/Unix.pm
++++ b/lib/File/HomeDir/Unix.pm
+@@ -24,8 +24,8 @@ sub my_home {
+ 	my $class = shift;
+ 	my $home  = $class->_my_home(@_);
+ 
+-	# On Unix in general, a non-existant home means "no home"
+-	# For example, "nobody"-like users might use /nonexistant
++	# On Unix in general, a non-existent home means "no home"
++	# For example, "nobody"-like users might use /nonexistent
+ 	if ( defined $home and ! -d $home ) {
+ 		$home = undef;
+ 	}
+--- a/lib/File/HomeDir/Windows.pm
++++ b/lib/File/HomeDir/Windows.pm
+@@ -68,7 +68,7 @@ sub my_desktop {
+ 	# As a last resort, try some hard-wired values
+ 	foreach my $fixed (
+ 		# The reason there are both types of slash here is because
+-		# this set of paths has been kept from thethe original version
++		# this set of paths has been kept from the original version
+ 		# of File::HomeDir::Win32 (before it was rewritten).
+ 		# I can only assume this is Cygwin-related stuff.
+ 		"C:\\windows\\desktop",

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



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