summaryrefslogtreecommitdiff
path: root/libpng.txt
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2001-04-20 10:32:10 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-04-06 16:06:10 -0500
commit82ae3833312c0e0943496d99273a54cf60f88343 (patch)
treeebbd265bcd676d711705d4c92cd64dbef8d1f59a /libpng.txt
parente1eff58f876c04c336a107c74d341c70792ce2d2 (diff)
downloadlibpng-82ae3833312c0e0943496d99273a54cf60f88343.tar.gz
Imported from libpng-1.0.11rc1.tarv1.0.11rc1
Diffstat (limited to 'libpng.txt')
-rw-r--r--libpng.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/libpng.txt b/libpng.txt
index 425cf3085..c0330b2f5 100644
--- a/libpng.txt
+++ b/libpng.txt
@@ -1,6 +1,6 @@
libpng.txt - A description on how to use and modify libpng
- libpng version 1.0.11beta3 - April 15, 2001
+ libpng version 1.0.11rc1 - April 20, 2001
Updated and distributed by Glenn Randers-Pehrson
<randeg@alum.rpi.edu>
Copyright (c) 1998, 1999, 2000 Glenn Randers-Pehrson
@@ -2314,6 +2314,10 @@ Your replacement memory functions must have prototypes as follows:
png_uint_32 size);
void free_fn(png_structp png_ptr, png_voidp ptr);
+Your malloc_fn() can return NULL in case of failure. The png_malloc()
+function will call png_error() if it receives a NULL from the system
+memory allocator or from your replacement malloc_fn().
+
Input/Output in libpng is done through png_read() and png_write(),
which currently just call fread() and fwrite(). The FILE * is stored in
png_struct and is initialized via png_init_io(). If you wish to change
@@ -2717,13 +2721,13 @@ application:
VIII. Y2K Compliance in libpng
-April 15, 2001
+April 20, 2001
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.0.11beta3 are Y2K compliant. It is my belief that earlier
+upward through 1.0.11rc1 are Y2K compliant. It is my belief that earlier
versions were also Y2K compliant.
Libpng only has three year fields. One is a 2-byte unsigned integer that