aboutsummaryrefslogtreecommitdiff
path: root/png.h
diff options
context:
space:
mode:
authorCosmin Truta <ctruta@gmail.com>2018-07-28 23:39:55 -0400
committerCosmin Truta <ctruta@gmail.com>2018-07-28 23:39:55 -0400
commitb729fff4a3e1fcadf581a525af6b09b4f5696228 (patch)
tree4b2d98021056bdab92cf1045d81314cd549f27c5 /png.h
parentc36c09f00426a07fef5c6d6a7361c12a47e6439b (diff)
downloadlibpng-b729fff4a3e1fcadf581a525af6b09b4f5696228.tar.gz
Remove the Y2K compliance statement
As of July 2018, this statement is no longer necessary.
Diffstat (limited to 'png.h')
-rw-r--r--png.h57
1 files changed, 0 insertions, 57 deletions
diff --git a/png.h b/png.h
index e6985a315..1e1b45eaa 100644
--- a/png.h
+++ b/png.h
@@ -243,63 +243,6 @@
* <https://www.w3.org/TR/2003/REC-PNG-20031110/
*/
-/*
- * Y2K compliance in libpng:
- * =========================
- *
- * July 15, 2018
- *
- * Since the PNG Development group is an ad-hoc body, we can't make
- * an official declaration.
- *
- * This is your unofficial assurance that libpng from version 0.71 and
- * upward through 1.6.35 are Y2K compliant. It is my belief that
- * earlier versions were also Y2K compliant.
- *
- * Libpng only has two year fields. One is a 2-byte unsigned integer
- * that will hold years up to 65535. The other, which is deprecated,
- * holds the date in text format, and will hold years up to 9999.
- *
- * The integer is
- * "png_uint_16 year" in png_time_struct.
- *
- * The string is
- * "char time_buffer[29]" in png_struct. This is no longer used
- * in libpng-1.6.x and will be removed from libpng-1.7.0.
- *
- * There are seven time-related functions:
- * png.c: png_convert_to_rfc_1123_buffer() in png.c
- * (formerly png_convert_to_rfc_1123() prior to libpng-1.5.x and
- * png_convert_to_rfc_1152() in error prior to libpng-0.98)
- * png_convert_from_struct_tm() in pngwrite.c, called in pngwrite.c
- * png_convert_from_time_t() in pngwrite.c
- * png_get_tIME() in pngget.c
- * png_handle_tIME() in pngrutil.c, called in pngread.c
- * png_set_tIME() in pngset.c
- * png_write_tIME() in pngwutil.c, called in pngwrite.c
- *
- * All handle dates properly in a Y2K environment. The
- * png_convert_from_time_t() function calls gmtime() to convert from system
- * clock time, which returns (year - 1900), which we properly convert to
- * the full 4-digit year. There is a possibility that libpng applications
- * are not passing 4-digit years into the png_convert_to_rfc_1123_buffer()
- * function, or that they are incorrectly passing only a 2-digit year
- * instead of "year - 1900" into the png_convert_from_struct_tm() function,
- * but this is not under our control. The libpng documentation has always
- * stated that it works with 4-digit years, and the APIs have been
- * documented as such.
- *
- * The tIME chunk itself is also Y2K compliant. It uses a 2-byte unsigned
- * integer to hold the year, and can hold years as large as 65535.
- *
- * zlib, upon which libpng depends, is also Y2K compliant. It contains
- * no date-related code.
- *
- * Glenn Randers-Pehrson
- * libpng maintainer
- * PNG Development Group
- */
-
#ifndef PNG_H
#define PNG_H