summaryrefslogtreecommitdiff
path: root/os2/OS2
diff options
context:
space:
mode:
authorPeter J. Acklam) (via RT <perlbug-followup@perl.org>2011-01-06 23:13:20 -0800
committerAbigail <abigail@abigail.be>2011-01-07 11:55:09 +0100
commit2391436bbf4354ce0b989d587889b6ac7ca73c82 (patch)
tree69f7eaa40eec17c805fb5a0390102e69691eebeb /os2/OS2
parentaf1e27efa1b782b1fcafdb20c1c0bd45239dcd0a (diff)
downloadperl-2391436bbf4354ce0b989d587889b6ac7ca73c82.tar.gz
Fix typos (spelling errors) in os2/*.
# New Ticket Created by (Peter J. Acklam) # Please include the string: [perl #81900] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81900 > Signed-off-by: Abigail <abigail@abigail.be>
Diffstat (limited to 'os2/OS2')
-rw-r--r--os2/OS2/OS2-Process/Process.pm10
-rw-r--r--os2/OS2/OS2-Process/t/os2_process.t2
-rw-r--r--os2/OS2/OS2-REXX/REXX.xs2
3 files changed, 7 insertions, 7 deletions
diff --git a/os2/OS2/OS2-Process/Process.pm b/os2/OS2/OS2-Process/Process.pm
index 494bd69bb8..4bed651b98 100644
--- a/os2/OS2/OS2-Process/Process.pm
+++ b/os2/OS2/OS2-Process/Process.pm
@@ -332,7 +332,7 @@ my $swentry_size = swentry_size();
sub sw_entries () {
my $s = swentries_list();
my ($c, $s1) = unpack 'La*', $s;
- die "Unconsistent size in swentries_list()" unless 4+$c*$swentry_size == length $s;
+ die "Inconsistent size in swentries_list()" unless 4+$c*$swentry_size == length $s;
my (@l, $e);
push @l, $e while $e = substr $s1, 0, $swentry_size, '';
@l;
@@ -1234,7 +1234,7 @@ One tree is given by the I<parent/child> relationship. This
relationship affects drawing (child is drawn relative to its parent
(lower-left corner), and the drawing is clipped by the parent's
boundary; parent may request that I<it's> drawing is clipped to be
-confined to the outsize of the childs and/or siblings' windows);
+confined to the outsize of the child's and/or siblings' windows);
hiding; minimizing/restoring; and destroying windows.
Another tree (not necessarily connected?) is given by I<ownership>
@@ -1388,7 +1388,7 @@ state" do not change the appearance of the window. Default: $update is TRUE.
Set the window enabled state. Default: $enable is TRUE.
Results in C<WM_ENABLED> message sent to the window. Typically, this
-would change the appearence of the window. If at the moment of disabling
+would change the appearance of the window. If at the moment of disabling
focus is in the window (or a descendant), focus is lost (no focus anywhere).
If focus is needed, it can be reassigned explicitly later.
@@ -1737,12 +1737,12 @@ $addr should be a memory address (encoded as integer). This call finds
the largest continuous region of memory belonging to the same memory object
as $addr, and having the same memory flags as $addr. $flags is the value of
the memory flag of $addr (see docs of DosQueryMem(3) for details). If
-optional argumetn $size_lim is given, the search is restricted to the region
+optional argument $size_lim is given, the search is restricted to the region
this many bytes long (after $addr).
($addr and $size are rounded so that all the memory pages containing
the region are inspected.) Optional argument $interrupt (defaults to 1)
-specifies whether region scan should be interruptable by signals.
+specifies whether region scan should be interruptible by signals.
=back
diff --git a/os2/OS2/OS2-Process/t/os2_process.t b/os2/OS2/OS2-Process/t/os2_process.t
index 18d8fe2a11..f738a33e43 100644
--- a/os2/OS2/OS2-Process/t/os2_process.t
+++ b/os2/OS2/OS2-Process/t/os2_process.t
@@ -289,7 +289,7 @@ ok($pkid1 > 0, 'our window has a governing process');
ok($tkid1 > 0, 'our window has a governing thread');
is($pkid, $pkid1, 'kid\'s window is governed by the same process as our (PMSHELL:1)');
is($tkid, $tkid1, 'likewise for threads');
-is $pkid, ppidOf($spid), 'the governer is the parent of the kid session';
+is $pkid, ppidOf($spid), 'the governor is the parent of the kid session';
my $my_pos = hWindowPos($hwnd);
ok $my_pos, 'got my position';
diff --git a/os2/OS2/OS2-REXX/REXX.xs b/os2/OS2/OS2-REXX/REXX.xs
index 428dfd57f5..6f4bf2b416 100644
--- a/os2/OS2/OS2-REXX/REXX.xs
+++ b/os2/OS2/OS2-REXX/REXX.xs
@@ -89,7 +89,7 @@ exec_in_REXX_with(pTHX_ char *cmd, int c, char **handlerNames, RexxFunctionHandl
s = cmd;
while (*s) {
- if (*s == '\n') { /* Is not preceeded by \r! */
+ if (*s == '\n') { /* Is not preceded by \r! */
Newx(cmd, 2*strlen(cmd)+1, char);
s = ocmd;
t = cmd;