summaryrefslogtreecommitdiff
path: root/os2
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2020-04-23 14:33:05 +0100
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2020-05-22 10:45:06 +0100
commita3815e44b8fba04704944693e426f3f47362d3ff (patch)
tree6b3f332bf90d50e6d3c8320ad29a05b83ae5aef0 /os2
parent49704e1a7f79e12814aa5fa55084f1105e2b27ec (diff)
downloadperl-a3815e44b8fba04704944693e426f3f47362d3ff.tar.gz
Fix a bunch of repeated-word typos
Mostly in comments and docs, but some in diagnostic messages and one case of 'or die die'.
Diffstat (limited to 'os2')
-rw-r--r--os2/Changes2
-rw-r--r--os2/os2ish.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/os2/Changes b/os2/Changes
index 127a7e272a..dcc258ffb4 100644
--- a/os2/Changes
+++ b/os2/Changes
@@ -187,7 +187,7 @@ after 5.005_53:
New function OS2::Error(do_harderror,do_exception). Returns
undef if it was not called yet, otherwise bit 1 is
set if on previous call do_harderror was enabled, bit
- 2 is set if if on previous call do_exception was enabled.
+ 2 is set if on previous call do_exception was enabled.
This function enables/disables error popups associated with
hardware errors (Disk not ready etc.) and software exceptions.
diff --git a/os2/os2ish.h b/os2/os2ish.h
index fb71cd0fd9..c82419eed7 100644
--- a/os2/os2ish.h
+++ b/os2/os2ish.h
@@ -77,7 +77,7 @@
* as the first line of a Perl program designed to be executed directly
* by name, instead of the standard Unix #!. If ALTERNATE_SHEBANG
* begins with a character other then #, then Perl will only treat
- * it as a command line if if finds the string "perl" in the first
+ * it as a command line if it finds the string "perl" in the first
* word; otherwise it's treated as the first line of code in the script.
* (IOW, Perl won't hand off to another interpreter via an alternate
* shebang sequence that might be legal Perl code.)