[Python-checkins] cpython (merge 3.3 -> default): Issue #18747: Fix spelling errors in my commit message and comments,

christian.heimes python-checkins at python.org
Sun Aug 25 14:20:17 CEST 2013


http://hg.python.org/cpython/rev/7b1da249ab6d
changeset:   85379:7b1da249ab6d
parent:      85375:577e9402cadd
parent:      85378:8b962e831ff0
user:        Christian Heimes <christian at cheimes.de>
date:        Sun Aug 25 14:19:29 2013 +0200
summary:
  Issue #18747: Fix spelling errors in my commit message and comments,
thanks to Vajrasky Kok for proof-reading.

files:
  Misc/NEWS      |  2 +-
  Modules/_ssl.c |  4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -66,7 +66,7 @@
   in the tkinter module.
 
 - Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.
-  A pthread_atfork() parent handler is used to seeded the PRNG with pid, time
+  A pthread_atfork() parent handler is used to seed the PRNG with pid, time
   and some stack data.
 
 - Issue #8865: Concurrent invocation of select.poll.poll() now raises a
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -2944,7 +2944,7 @@
 /* Seed OpenSSL's PRNG at fork(), http://bugs.python.org/issue18747
  *
  * The parent handler seeds the PRNG from pseudo-random data like pid, the
- * current time (miliseconds or seconds) and an uninitialized arry.
+ * current time (miliseconds or seconds) and an uninitialized array.
  * The array contains stack variables that are impossible to predict
  * on most systems, e.g. function return address (subject to ASLR), the
  * stack protection canary and automatic variables.
@@ -2953,7 +2953,7 @@
  * Note:
  * The code uses pthread_atfork() until Python has a proper atfork API. The
  * handlers are not removed from the child process. A parent handler is used
- * instead of a child handler because fork() is suppose to be async-signal
+ * instead of a child handler because fork() is supposed to be async-signal
  * safe but the handler calls unsafe functions.
  */
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list