aboutsummaryrefslogtreecommitdiff
path: root/zlib/examples
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2017-01-13 12:10:39 +0000
committerMatthias Klose <doko@gcc.gnu.org>2017-01-13 12:10:39 +0000
commitb7aa844d134204e302acc0c3f36f416656491305 (patch)
tree9dc36718c039f9b387af813329eb2b4c17b149e0 /zlib/examples
parent2252a8025df20cb5c58659cde04ac0ee0eee3ee1 (diff)
downloadgcc-b7aa844d134204e302acc0c3f36f416656491305.zip
gcc-b7aa844d134204e302acc0c3f36f416656491305.tar.gz
gcc-b7aa844d134204e302acc0c3f36f416656491305.tar.bz2
2017-01-13 Matthias Klose <doko@ubuntu.com>
* Import zlib 1.2.10. * configure: Regenerate. From-SVN: r244429
Diffstat (limited to 'zlib/examples')
-rw-r--r--zlib/examples/gun.c2
-rw-r--r--zlib/examples/gzlog.c4
-rw-r--r--zlib/examples/zran.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/zlib/examples/gun.c b/zlib/examples/gun.c
index 89e484f..be44fa5 100644
--- a/zlib/examples/gun.c
+++ b/zlib/examples/gun.c
@@ -46,7 +46,7 @@
end-of-file, they cannot be concantenated. If a Unix compress stream is
encountered in an input file, it is the last stream in that file.
- Like gunzip and uncompress, the file attributes of the orignal compressed
+ Like gunzip and uncompress, the file attributes of the original compressed
file are maintained in the final uncompressed file, to the extent that the
user permissions allow it.
diff --git a/zlib/examples/gzlog.c b/zlib/examples/gzlog.c
index 922f878..b8c2927 100644
--- a/zlib/examples/gzlog.c
+++ b/zlib/examples/gzlog.c
@@ -1,6 +1,6 @@
/*
* gzlog.c
- * Copyright (C) 2004, 2008, 2012 Mark Adler, all rights reserved
+ * Copyright (C) 2004, 2008, 2012, 2016 Mark Adler, all rights reserved
* For conditions of distribution and use, see copyright notice in gzlog.h
* version 2.2, 14 Aug 2012
*/
@@ -243,7 +243,7 @@ typedef unsigned int uint;
typedef unsigned long ulong;
/* Macro for debugging to deterministically force recovery operations */
-#ifdef DEBUG
+#ifdef GZLOG_DEBUG
#include <setjmp.h> /* longjmp */
jmp_buf gzlog_jump; /* where to go back to */
int gzlog_bail = 0; /* which point to bail at (1..8) */
diff --git a/zlib/examples/zran.c b/zlib/examples/zran.c
index 278f9ad..4fec659 100644
--- a/zlib/examples/zran.c
+++ b/zlib/examples/zran.c
@@ -27,7 +27,7 @@
grows as needed to accommodate the points.
To use the index, an offset in the uncompressed data is provided, for which
- the latest accees point at or preceding that offset is located in the index.
+ the latest access point at or preceding that offset is located in the index.
The input file is positioned to the specified location in the index, and if
necessary the first few bits of the compressed data is read from the file.
inflate is initialized with those bits and the 32K of uncompressed data, and