summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorLajos Veres <vlajos@gmail.com>2015-01-28 21:35:45 -0500
committerJames E Keenan <jkeenan@cpan.org>2015-01-28 21:35:45 -0500
commitf6bab5f637fea85f01e1e1f1882ace0bd404db4c (patch)
tree2be8709af2e1eaf0c062de53259f57e8694e010e /util.c
parent92dfa2590a5024b530c9d58fdd2520a01d40cef6 (diff)
downloadperl-f6bab5f637fea85f01e1e1f1882ace0bd404db4c.tar.gz
Corrections to spelling and grammatical errors.
Extracted from patch submitted by Lajos Veres in RT #123693.
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index fbccd8a97c..08f6abc395 100644
--- a/util.c
+++ b/util.c
@@ -2966,7 +2966,7 @@ Perl_wait4pid(pTHX_ Pid_t pid, int *statusp, int flags)
*statusp = SvIVX(sv);
/* The hash iterator is currently on this entry, so simply
calling hv_delete would trigger the lazy delete, which on
- aggregate does more work, beacuse next call to hv_iterinit()
+ aggregate does more work, because next call to hv_iterinit()
would spot the flag, and have to call the delete routine,
while in the meantime any new entries can't re-use that
memory. */
@@ -3936,7 +3936,7 @@ Fill the sv with current working directory
/* Originally written in Perl by John Bazik; rewritten in C by Ben Sugars.
* rewritten again by dougm, optimized for use with xs TARG, and to prefer
* getcwd(3) if available
- * Comments from the orignal:
+ * Comments from the original:
* This is a faster version of getcwd. It's also more dangerous
* because you might chdir out of a directory that you can't chdir
* back into. */