summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-01 13:32:32 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-01 13:32:32 +0000
commitfb3c4a2d1803531a1dc865f72d758ac794f8702d (patch)
treec9a30ac6d4ec61fbcb7ea894e776f172813d7987 /ext/zlib/zlib.c
parent069fe9c68c269c01cb24759d82ef139ffec0802c (diff)
* ext/zlib/zlib.c: cosmetic changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r--ext/zlib/zlib.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index 40864969f1..149f54d9b2 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -230,19 +230,19 @@ static VALUE rb_gzreader_readlines(int, VALUE*, VALUE);
* for use on virtually any computer hardware and operating system.
*
* The zlib compression library provides in-memory compression and
- * decompression functions, including integrity checks of the uncompressed
+ * decompression functions, including integrity checks of the uncompressed
* data.
*
* The zlib compressed data format is described in RFC 1950, which is a
* wrapper around a deflate stream which is described in RFC 1951.
*
- * The library also supports reading and writing files in gzip (.gz) format
+ * The library also supports reading and writing files in gzip (.gz) format
* with an interface similar to that of IO. The gzip format is described in
* RFC 1952 which is also a wrapper around a deflate stream.
*
* The zlib format was designed to be compact and fast for use in memory and on
* communications channels. The gzip format was designed for single-file
- * compression on file systems, has a larger header than zlib to maintain
+ * compression on file systems, has a larger header than zlib to maintain
* directory information, and uses a different, slower check method than zlib.
*
* See your system's zlib.h for further information about zlib
@@ -250,18 +250,18 @@ static VALUE rb_gzreader_readlines(int, VALUE*, VALUE);
* == Sample usage
*
* Using the wrapper to compress strings with default parameters is quite
- * simple:
+ * simple:
*
* require "zlib"
*
* data_to_compress = File.read("don_quixote.txt")
- *
+ *
* puts "Input size: #{data_to_compress.size}"
* #=> Input size: 2347740
- *
+ *
* data_compressed = Zlib::Deflate.deflate(data_to_compress)
*
- * puts "Compressed size: #{data_compressed.size}"
+ * puts "Compressed size: #{data_compressed.size}"
* #=> Compressed size: 887238
*
* uncompressed_data = Zlib::Inflate.inflate(data_compressed)
@@ -1307,12 +1307,12 @@ rb_deflate_s_allocate(VALUE klass)
* The +level+ sets the compression level for the deflate stream between 0 (no
* compression) and 9 (best compression. The following constants have been
* defined to make code more readable:
- *
+ *
* * Zlib::NO_COMPRESSION = 0
- * * Zlib::BEST_SPEED = 1
+ * * Zlib::BEST_SPEED = 1
* * Zlib::DEFAULT_COMPRESSION = 6
* * Zlib::BEST_COMPRESSION = 9
- *
+ *
* The +window_bits+ sets the size of the history buffer and should be between
* 8 and 15. Larger values of this parameter result in better compression at
* the expense of memory usage.