[Python-checkins] cpython (3.1): Revert typo fixes in zlib/*
ezio.melotti
python-checkins at python.org
Wed Mar 16 11:49:47 CET 2011
http://hg.python.org/cpython/rev/f2ac5bbc1623
changeset: 68590:f2ac5bbc1623
branch: 3.1
parent: 68585:bf94b6a73fc8
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Wed Mar 16 12:48:54 2011 +0200
summary:
Revert typo fixes in zlib/*
files:
Modules/zlib/deflate.h
Modules/zlib/gzio.c
diff --git a/Modules/zlib/deflate.h b/Modules/zlib/deflate.h
--- a/Modules/zlib/deflate.h
+++ b/Modules/zlib/deflate.h
@@ -188,7 +188,7 @@
int nice_match; /* Stop searching when current match exceeds this */
/* used by trees.c: */
- /* Didn't use ct_data typedef below to suppress compiler warning */
+ /* Didn't use ct_data typedef below to supress compiler warning */
struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */
struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */
struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */
diff --git a/Modules/zlib/gzio.c b/Modules/zlib/gzio.c
--- a/Modules/zlib/gzio.c
+++ b/Modules/zlib/gzio.c
@@ -256,7 +256,7 @@
/* ===========================================================================
Read a byte from a gz_stream; update next_in and avail_in. Return EOF
for end of file.
- IN assertion: the stream s has been successfully opened for reading.
+ IN assertion: the stream s has been sucessfully opened for reading.
*/
local int get_byte(s)
gz_stream *s;
@@ -281,7 +281,7 @@
mode to transparent if the gzip magic header is not present; set s->err
to Z_DATA_ERROR if the magic header is present but the rest of the header
is incorrect.
- IN assertion: the stream s has already been created successfully;
+ IN assertion: the stream s has already been created sucessfully;
s->stream.avail_in is zero for the first time, but may be non-zero
for concatenated .gz files.
*/
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list