From bbe2be3f54cb43ef0b23db591a682303c65a9413 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sat, 7 Mar 2015 13:13:11 -0600 Subject: [PATCH] [libpng16] Spelling fixes: less then N -> less than N (Lauri Nurmi) --- libpng-manual.txt | 8 ++++---- libpng.3 | 16 ++++++++-------- pngmem.c | 2 +- pngrio.c | 2 +- pngrtran.c | 2 +- pngtest.c | 2 +- scripts/pnglibconf.dfa | 3 ++- 7 files changed, 18 insertions(+), 17 deletions(-) diff --git a/libpng-manual.txt b/libpng-manual.txt index 9bcb15f3a..d658759ae 100644 --- a/libpng-manual.txt +++ b/libpng-manual.txt @@ -1,6 +1,6 @@ libpng-manual.txt - A description on how to use and modify libpng - libpng version 1.6.17rc02 - March 6, 2015 + libpng version 1.6.17rc02 - March 7, 2015 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2015 Glenn Randers-Pehrson @@ -11,7 +11,7 @@ libpng-manual.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.6.17rc02 - March 6, 2015 + libpng versions 0.97, January 1998, through 1.6.17rc02 - March 7, 2015 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2015 Glenn Randers-Pehrson @@ -2547,7 +2547,7 @@ png_infop info_ptr; 64K. The library seems to run fine with sizes of 4K. Although you can give it much less if necessary (I assume you can give it chunks of - 1 byte, I haven't tried less then 256 bytes + 1 byte, I haven't tried less than 256 bytes yet). When this function returns, you may want to display any rows that were generated in the row callback if you don't already do @@ -5275,7 +5275,7 @@ Other rules can be inferred by inspecting the libpng source. XVI. Y2K Compliance in libpng -March 6, 2015 +March 7, 2015 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. diff --git a/libpng.3 b/libpng.3 index 87f0de96b..058e81c27 100644 --- a/libpng.3 +++ b/libpng.3 @@ -1,4 +1,4 @@ -.TH LIBPNG 3 "March 6, 2015" +.TH LIBPNG 3 "March 7, 2015" .SH NAME libpng \- Portable Network Graphics (PNG) Reference Library 1.6.17rc02 .SH SYNOPSIS @@ -504,7 +504,7 @@ Following is a copy of the libpng-manual.txt file that accompanies libpng. .SH LIBPNG.TXT libpng-manual.txt - A description on how to use and modify libpng - libpng version 1.6.17rc02 - March 6, 2015 + libpng version 1.6.17rc02 - March 7, 2015 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2015 Glenn Randers-Pehrson @@ -515,7 +515,7 @@ libpng-manual.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.6.17rc02 - March 6, 2015 + libpng versions 0.97, January 1998, through 1.6.17rc02 - March 7, 2015 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2015 Glenn Randers-Pehrson @@ -3051,7 +3051,7 @@ png_infop info_ptr; 64K. The library seems to run fine with sizes of 4K. Although you can give it much less if necessary (I assume you can give it chunks of - 1 byte, I haven't tried less then 256 bytes + 1 byte, I haven't tried less than 256 bytes yet). When this function returns, you may want to display any rows that were generated in the row callback if you don't already do @@ -5779,7 +5779,7 @@ Other rules can be inferred by inspecting the libpng source. .SH XVI. Y2K Compliance in libpng -March 6, 2015 +March 7, 2015 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. @@ -6095,7 +6095,7 @@ possible without all of you. Thanks to Frank J. T. Wojcik for helping with the documentation. -Libpng version 1.6.17rc02 - March 6, 2015: +Libpng version 1.6.17rc02 - March 7, 2015: Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc. Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net). @@ -6118,7 +6118,7 @@ this sentence. This code is released under the libpng license. -libpng versions 1.2.6, August 15, 2004, through 1.6.17rc02, March 6, 2015, are +libpng versions 1.2.6, August 15, 2004, through 1.6.17rc02, March 7, 2015, are Copyright (c) 2004,2006-2014 Glenn Randers-Pehrson, and are distributed according to the same disclaimer and license as libpng-1.2.5 with the following individual added to the list of Contributing Authors @@ -6217,7 +6217,7 @@ certification mark of the Open Source Initiative. Glenn Randers-Pehrson glennrp at users.sourceforge.net -March 6, 2015 +March 7, 2015 .\" end of man page diff --git a/pngmem.c b/pngmem.c index d6caf273f..8b157e54d 100644 --- a/pngmem.c +++ b/pngmem.c @@ -41,7 +41,7 @@ png_destroy_png_struct(png_structrp png_ptr) } /* Allocate memory. For reasonable files, size should never exceed - * 64K. However, zlib may allocate more then 64K if you don't tell + * 64K. However, zlib may allocate more than 64K if you don't tell * it not to. See zconf.h and png.h for more information. zlib does * need to allocate exactly 64K, so whatever you call here must * have the ability to do that. diff --git a/pngrio.c b/pngrio.c index 7c7afcde5..f30c768e5 100644 --- a/pngrio.c +++ b/pngrio.c @@ -26,7 +26,7 @@ * reads from a file pointer. Note that this routine sometimes gets called * with very small lengths, so you should implement some kind of simple * buffering if you are using unbuffered reads. This should never be asked - * to read more then 64K on a 16 bit machine. + * to read more than 64K on a 16 bit machine. */ void /* PRIVATE */ png_read_data(png_structrp png_ptr, png_bytep data, png_size_t length) diff --git a/pngrtran.c b/pngrtran.c index ada436efb..bed7bb25f 100644 --- a/pngrtran.c +++ b/pngrtran.c @@ -394,7 +394,7 @@ png_set_alpha_mode(png_structrp png_ptr, int mode, double output_gamma) /* Dither file to 8-bit. Supply a palette, the current number * of elements in the palette, the maximum number of elements * allowed, and a histogram if possible. If the current number - * of colors is greater then the maximum number, the palette will be + * of colors is greater than the maximum number, the palette will be * modified to fit in the maximum number. "full_quantize" indicates * whether we need a quantizing cube set up for RGB images, or if we * simply are reducing the number of colors in a paletted image. diff --git a/pngtest.c b/pngtest.c index 13d1a901e..4eb18d1f2 100644 --- a/pngtest.c +++ b/pngtest.c @@ -469,7 +469,7 @@ pngtest_error(png_structp png_ptr, png_const_charp message) #if defined(PNG_USER_MEM_SUPPORTED) && PNG_DEBUG /* Allocate memory. For reasonable files, size should never exceed - * 64K. However, zlib may allocate more then 64K if you don't tell + * 64K. However, zlib may allocate more than 64K if you don't tell * it not to. See zconf.h and png.h for more information. zlib does * need to allocate exactly 64K, so whatever you call here must * have the ability to do that. diff --git a/scripts/pnglibconf.dfa b/scripts/pnglibconf.dfa index 5a60753ba..e9a82f303 100644 --- a/scripts/pnglibconf.dfa +++ b/scripts/pnglibconf.dfa @@ -367,6 +367,7 @@ option USER_LIMITS requires READ # USER_CHUNK_CACHE_MAX: maximum number of chunks to be cached # # Only chunks that are variable in number are counted towards the + # Use 0x7fffffff for unlimited setting USER_WIDTH_MAX default 1000000 setting USER_HEIGHT_MAX default 1000000 @@ -645,7 +646,7 @@ setting QUANTIZE_BLUE_BITS default 5 # are only interested in 8 bits anyway. Increasing this value # results in more memory being used, and more pow() functions # being called to fill in the gamma tables. Don't set this value -# less then 8, and even that may not work (I haven't tested it). +# less than 8, and even that may not work (I haven't tested it). setting MAX_GAMMA_8 default 11