Subject: | [PATCH] fix spelling/grammar errors |
The attached patch fixes some spelling and grammar errors.
diff -ru File-MimeInfo-0.10-orig/MimeInfo.pm File-MimeInfo-0.10/MimeInfo.pm
--- File-MimeInfo-0.10-orig/MimeInfo.pm 2004-02-08 03:32:17.000000000 -0800
+++ File-MimeInfo-0.10/MimeInfo.pm 2005-03-04 15:00:04.000000000 -0800
@@ -210,7 +216,7 @@
This method bundles C<inodetype> and C<globs>.
-If these methods are unsuccessfull the file is read and the mime-type defaults
+If these methods are unsuccessful the file is read and the mime-type defaults
to 'text/plain' or to 'application/octet-stream' when the first ten chars
of the file match ascii control chars (white spaces excluded).
If the file doesn't exist or isn't readable C<undef> is returned.
@@ -236,7 +242,7 @@
doesn't exist in the database). It returns an empty string when the xml file doesn't
contain a description in the language you specified.
-I<Currently no real xml parsing is done, it trust the xml files are nicely formatted.>
+I<Currently no real xml parsing is done, it trusts the xml files are nicely formatted.>
=item C<rehash()>
@@ -248,7 +254,7 @@
This module throws an exception when it can't find any data files, when it can't
open a data file it found for reading or when a subroutine doesn't get enough arguments.
-In the first case youn either don't have the freedesktop mime info database installed,
+In the first case you either don't have the freedesktop mime info database installed
or your environment variables point to the wrong places,
in the second case you have the database installed, but it is broken
(the mime info database should logically be world readable).
@@ -265,7 +271,7 @@
for the default method and for reading the xml files
utf8 is not supported for these versions.
-Since it is not possible to distinguishe between encoding types (utf8, latin1, latin2 etc.)
+Since it is not possible to distinguish between encoding types (utf8, latin1, latin2 etc.)
in a straightforward manner only utf8 is supported (because the spec recommends this).
Please mail the author when you encounter any other bugs.
Only in File-MimeInfo-0.10: MimeInfo.pm~