summaryrefslogtreecommitdiff
path: root/utils/h2xs.PL
diff options
context:
space:
mode:
authorPeter J. Acklam) (via RT <perlbug-followup@perl.org>2011-01-06 23:14:33 -0800
committerAbigail <abigail@abigail.be>2011-01-07 13:04:29 +0100
commit5538372edeb44d5a3c463c8a09fecc7e2c858c3b (patch)
treea83f4e0d051337788e9806d81986673e84570ba7 /utils/h2xs.PL
parent149e12f21172118200d2a54d3d716ecc529fde66 (diff)
downloadperl-5538372edeb44d5a3c463c8a09fecc7e2c858c3b.tar.gz
Fix typos (spelling errors) in utils/*.
# New Ticket Created by (Peter J. Acklam) # Please include the string: [perl #81914] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81914 > Signed-off-by: Abigail <abigail@abigail.be>
Diffstat (limited to 'utils/h2xs.PL')
-rw-r--r--utils/h2xs.PL8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/h2xs.PL b/utils/h2xs.PL
index 8564577428..634e891f84 100644
--- a/utils/h2xs.PL
+++ b/utils/h2xs.PL
@@ -530,7 +530,7 @@ OPTIONS:
-X, --omit-XS Omit the XS portion (implies both -c and -f).
-a, --gen-accessors Generate get/set accessors for struct and union members
(used with -x).
- -b, --compat-version Specify a perl version to be backwards compatibile with.
+ -b, --compat-version Specify a perl version to be backwards compatible with.
-c, --omit-constant Omit the constant() function and specialised AUTOLOAD
from the XS file.
-d, --debugging Turn on debugging messages.
@@ -1724,7 +1724,7 @@ sub accessor_docs {
# my \$buffer = $name->new();
# my \$obj = \$buffer->_to_ptr();
#
-#This exersizes the following two methods, and an additional class
+#This exercises the following two methods, and an additional class
#C<$name>, the internal representation of which is a reference to a
#packed string with the C structure. Keep in mind that \$buffer should
#better survive longer than \$obj.
@@ -1801,7 +1801,7 @@ sub get_typemap {
sub normalize_type { # Second arg: do not strip const's before \*
my $type = shift;
my $do_keep_deep_const = shift;
- # If $do_keep_deep_const this is heuristical only
+ # If $do_keep_deep_const this is heuristic only
my $keep_deep_const = ($do_keep_deep_const ? '\b(?![^(,)]*\*)' : '');
my $ignore_mods
= "(?:\\b(?:(?:__const__|const)$keep_deep_const|static|inline|__inline__)\\b\\s*)*";
@@ -2021,7 +2021,7 @@ EOM
close(PL) || die "Can't close $ext$modpname/Makefile.PL: $!\n";
# Create a simple README since this is a CPAN requirement
-# and it doesnt hurt to have one
+# and it doesn't hurt to have one
warn "Writing $ext$modpname/README\n";
open(RM, ">README") || die "Can't create $ext$modpname/README:$!\n";
my $thisyear = (gmtime)[5] + 1900;