Imported from libpng-1.2.22beta4.tar

This commit is contained in:
Glenn Randers-Pehrson
2007-10-07 06:03:41 -05:00
parent 40dd10dfb2
commit ce2a6d3739
52 changed files with 127 additions and 121 deletions

View File

@@ -1,7 +1,7 @@
/* pngtest.c - a simple test program to test libpng
*
* Last changed in libpng 1.2.6 - August 15, 2004
* Last changed in libpng 1.2.22 - [October 7, 2007]
* For conditions of distribution and use, see copyright notice in png.h
* Copyright (c) 1998-2004 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
@@ -1007,7 +1007,7 @@ test_one_file(PNG_CONST char *inname, PNG_CONST char *outname)
we use it */
png_strncpy(tIME_string,png_convert_to_rfc1123(read_ptr,
mod_time),29);
tIME_string[29]=0;
tIME_string[29] = '\0';
tIME_chunk_present++;
#endif /* PNG_TIME_RFC1123_SUPPORTED */
}
@@ -1149,7 +1149,7 @@ test_one_file(PNG_CONST char *inname, PNG_CONST char *outname)
we use it */
png_strncpy(tIME_string,png_convert_to_rfc1123(read_ptr,
mod_time),29);
tIME_string[29]=0;
tIME_string[29] = '\0';
tIME_chunk_present++;
#endif /* PNG_TIME_RFC1123_SUPPORTED */
}
@@ -1550,4 +1550,4 @@ main(int argc, char *argv[])
}
/* Generate a compiler error if there is an old png.h in the search path. */
typedef version_1_2_22beta3 your_png_h_is_not_version_1_2_22beta3;
typedef version_1_2_22beta4 your_png_h_is_not_version_1_2_22beta4;