contrib/libtests

Branch


Log

Author Commit Date CI Message
Cosmin Truta 99230a03 2025-09-03T21:18:33 refactor: Delete conditional compilation for libpng 1.6.0 or earlier This is a cherry-pick of commit 5ff29c03bbe19992dcfe173a8db8528b4317ae4b from branch 'libpng18'
Cosmin Truta 44f97f08 2025-02-21T15:34:09 [libpng18] chore: Clean up the `FILE *` formulations in code and in documentation We should use `FILE *` instead of `FILE*` or `(FILE*)`, consistently, as we should for all other pointer types. Moreover, when we refer to standard stdio file objects in comments and in documentation, we should use the term "FILE objects" consistently. Lastly, we clarify in a comment in example.c that `PNG_STDIO_SUPPORTED` is true only when the stdio support is both available in the system and accessible in the user's libpng build. This is a cherry-pick of commit c63c5463903014c904b540216c2784023fb8c1c8 from branch 'libpng18'. Reviewed-by: John Bowler <jbowler@acm.org> Signed-off-by: Cosmin Truta <ctruta@gmail.com>
John Bowler b20e6fb3 2025-02-13T13:00:49 pngimage: clean up on user/internal errors pngimage: The code simply exited with a return code of 99 in the event of a user error including giving pngimage invalid PNG files and an internal error. It now attempts to clean up the state before doing so, matching the normal behaviour. pngimage: Non-ISO use of setjmp(3) corrected. pngerror.c: Failure to call png_image_free on a false result from a png_safe_execute function call fixed. This was a regression caused by the 'volatile' clean-up. Not normally detectable because png_image_free will often be called by the application. Reviewed-by: Cosmin Truta <ctruta@gmail.com> Signed-off-by: John Bowler <jbowler@acm.org> Signed-off-by: Cosmin Truta <ctruta@gmail.com>
John Bowler 92e8581f 2025-01-03T22:43:00 api(PNGv3): Add support for mDCV and cLLI This adds APIs to get/set the two remaining new PNG-v3 colour space chunks. The mDCV API matches that of cHRM. Both chunks support floating point APIs (all values in the two chunks are real numbers). Both chunks have a new encoded type, a four-digit-precision fixed-point number, which cannot be represented in the existing `png_fixed_point` type, so a `png_uint_32` is used. Test examples for cICP, cLLI and mDCV are now in pngtest.png, and a necessary change to the pngunknown.c test program has been made to accomodate the additions. Reviewed-by: Cosmin Truta <ctruta@gmail.com> Signed-off-by: John Bowler <jbowler@acm.org> Signed-off-by: Cosmin Truta <ctruta@gmail.com>
Cosmin Truta c1cc0f3f 2024-10-18T16:16:16 [libpng16] build: Rename a private function to benefit C++Builder Embarcadero's compilers, old (Borland-based) and new (Clang-based), do have full support for Standard C. The Clang-based compiler is claiming, through the macro __STDC_VERSION__, to support C99 and C11, whereas the Borland-based compiler supports ANSI C, as it has for decades. However, their run-time library is exposing global functions beyond the scope of Standard C, for backwards compatibility with the older Borland products. One of these functions is `randomize`, which clashes with a function inside pngvalid.c that incidentally has the same name. Building libpng in "Strict ANSI C" mode, in which all Borland-specific globals are hidden (e.g. via `bcc32 -A`), would have been a workable solution for the Borland-based ANSI C compiler, but no such solution appears to exist for the Clang-based C90/C99/C11 compiler. Fortunately, renaming a private function inside a test program is a cost-free alternative fix. This is a cherry-pick of commit 6184164aa73ee764b1822f44d3db7619cf84f3fa from branch 'libpng18'.
John Bowler 76e5ec21 2024-10-14T12:26:22 [libpng16] test: Add a compile-time check in pngimage.c to avoid a failure Disable the check on `interlace_method` inside function `compare_read` in pngimage.c, if WRITE_INTERLACING is not supported. If interlaced encoding is disabled inside libpng, the encoded images are non-interlaced silently and unconditionally. This commit updates the image comparison to skip the interlace check in the resultant image; other behavior is still checked. This is a cherry-pick of commit d9f13d8d846e08b00f6530b7a5fe07039d48c78d from branch 'libpng18'. Reviewed-by: Cosmin Truta <ctruta@gmail.com> Signed-off-by: John Bowler <jbowler@acm.org> Signed-off-by: Cosmin Truta <ctruta@gmail.com>
John Bowler d7d950e8 2024-10-10T14:09:02 [libpng16] chore: Clean up the leading blank lines from all source files The leading blank lines are apparently an artefact of an older source control system. They are not required and they look like accidents, because starting a source file with a blank line is not a regular habit of software developers nowadays. This is a cherry-pick of commit 37cc20add8fb5b83bb5299a26cd3b41e0f776017 from branch 'libpng18'. Signed-off-by: John Bowler <jbowler@acm.org> Signed-off-by: Cosmin Truta <ctruta@gmail.com>
John Bowler b8a0a540 2024-09-15T10:43:41 [libpng16] test: Fix "make check" in all branches beyond 'libpng16' This corrects the checks to that libpng 10800 does not turn on the enhanced transform checks in either pngvalid or pngstest. The correct fix is to change the 10700 code for comments which explain what aspect or aspects of the transforms are broken (ideally) or at least state that the transforms are broken. This is a cherry-pick of commit aec888ab80f5d2241b3515b60f0f9337108fb624 from branch 'libpng18'. Reviewed-by: Cosmin Truta <ctruta@gmail.com> Signed-off-by: John Bowler <jbowler@acm.org> Signed-off-by: Cosmin Truta <ctruta@gmail.com>
John Bowler ce1f1f00 2024-02-02T01:14:57 API usage: add 'basic' configuration This adds a new configuration file, 'contrib/conftest/basic.dfa' which disables unused APIs on a test Linux-based system. So support the configuration several fixes were necessary in the test programs so that the tests are skipped correctly when APIs are not available. The configuration has been tested on a range of common Linux apps including web browser code (qtwebengine), image processing code (e.g. ImageMagick) and general display code (X11, Qt5 and Qt6, KDE). Overall this first step reduces libpng linked code and data size to about 2/3 of the full configuration. To use the new test simply copy basic.dfa to 'pngusr.dfa' in the root of the source directory and build. Signed-off-by: John Bowler <jbowler@acm.org>
musvaage 3c152a8e 2022-09-20T17:15:49 Fix typos Signed-off-by: Cosmin Truta <ctruta@gmail.com>
luz paz f16427e5 2022-01-08T06:41:50 Fix various typos Found via `codespell -q 3 -S ./ltmain.sh,./scripts/libtool.m4 -L ake,ans,ba,bloc,crashers,doed,inout,lengthh,maked,paeth,parm,parms,redy,unx`
Kleber Tarcísio 2224c8ea 2020-07-28T09:17:27 Add a check to pngimage.c Check the result of png_get_IHDR inside the compare_read function. Contributed-by: Kleber Tarcísio Signed-off-by: Cosmin Truta
Cosmin Truta e2bb5e75 2021-03-12T22:54:32 contrib: Apply various fixes to libtests pngimage.c: Initialize sig_bits on a NOTREACHED path to avoid warnings about using uninitialized variables. pngstest.c: Enlarge buffers and fix signedness to avoid legitimate warnings about potential buffer overflows. pngunknown.c: pngvalid.c: Use NULL instead of 0 for pointers and apply other style fixes. makepng.c: tarith.c: Apply various style fixes. Also remove the "last changed" version info from source comments. The version control system maintains this information automatically.
willson-chen 52ee1676 2019-07-30T16:01:13 Fix a warning on Linux caused by _BSD_SOURCE I got a warning while compiling under Ubuntu 18.04 and gcc 7.4: "__BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" Quote from the Linux Programmer's Manual: "To allow code that requires _BSD_SOURCE in glibc 2.19 and earlier and _DEFAULT_SOURCE in glibc 2.20 and later to compile without warnings, define both _BSD_SOURCE and _DEFAULT_SOURCE."
Cosmin Truta 85acd919 2018-12-01T09:36:00 [master] Imported from libpng-1.6.36.tar
luz.paz a294c1bc 2018-06-05T00:39:11 Some more trivial source typos Found via `codespell` and `grep`
Cosmin Truta ceb32778 2018-08-18T22:47:16 Remove top-level const from function-scope variables As per the const correctness rules, top-level const-ness of data in automatic scopes does not propagate outside of these scopes (unlike const-ness at lower levels, such as pointers to const data). Previously, const was used liberally, but inconsistently across the libpng codebase. Using const wherever applicable is not incorrect. However, _consistent_ use of const is difficult to maintain in such conditions. In conclusion, we shall continue to use const only where doing so is strictly necessary: 1. If a function guarantees that it will not modify an argument passed by pointer, the corresponding function parameter should be a pointer-to-const (const T *). 2. Static data should not be modified, therefore it should be const. Reference: Google C++ Style Guide https://google.github.io/styleguide/cppguide.html#Use_of_const
Cosmin Truta 1ef88828 2018-08-18T21:01:02 Replace the remaining uses of PNG_CONST with const In v1.6.0, compiler support for const became a requirement. It should be used consistently. To maintain backwards compatibility, PNG_CONST is still maintained in deprecated form.
Cosmin Truta 43446b73 2018-08-12T23:46:02 Fix a build warning on OpenBSD (Contributed by Theo Buehler)
Cosmin Truta 8da39742 2018-07-15T23:58:00 [master] Imported from libpng-1.6.35.tar
Cosmin Truta a74aa9a0 2018-06-17T22:37:44 [libpng16] Replace the remaining uses of png_size_t with size_t In v1.6.0, size_t became a required type. It should be used consistently. To maintain backwards compatibility, png_size_t is still maintained in deprecated form.
luz.paz eb91c0e4 2018-02-09T06:57:29 More misc. typos found via `codespell-q 3` please review
Unknown f23b41d7 2017-11-03T00:52:06 Misc. typos Some are user facing. Some are in actual code. Most are in source comments. Also, please double check the changes in contrib/tools/pngfix.c
Glenn Randers-Pehrson 5c27e93f 2017-08-30T07:01:49 [libpng16] Bump version to 1.6.33beta02
Glenn Randers-Pehrson f6ca33d4 2017-08-25T18:52:39 [libpng16] Bump version to 1.6.33beta01
Glenn Randers-Pehrson f8110669 2017-08-24T14:44:52 [master] Imported from libpng-1.6.32.tar
Glenn Randers-Pehrson df7e9dae 2017-08-24T14:44:52 [libpng16] Imported from libpng-1.6.32.tar
Glenn Randers-Pehrson bc68c41d 2017-08-01T15:24:21 [libpng16] Initialized btoa[] in pngstest.c; stop memory leak in png_handle_eXIf() when returning with an error.
Glenn Randers-Pehrson 68a80b10 2017-07-31T20:22:08 [libpng16] updated tests/pngunknown-sAPI; it works now.
Glenn Randers-Pehrson c17b7b38 2017-07-31T19:04:15 [libpng16] Updated contrib/libtests/pngunknown.c with eXIf chunk. Note: the unknown-sAPI test is failing.
Glenn Randers-Pehrson fbff8986 2017-07-27T05:25:33 [master] Imported from libpng-1.6.31.tar
Glenn Randers-Pehrson 9fcb8464 2017-07-27T05:25:33 [libpng16] Imported from libpng-1.6.31.tar
John Bowler 72d07d32 2017-07-11T07:50:35 [libpng16] Removed one of the GCC-7.1.0 'strict-overflow' warnings that result when integers appear on both sides of a compare. Worked around the others by forcing the strict-overflow setting in the relevant functions to a level where they are not reported. Changed "FALL THROUGH" comments to "FALLTHROUGH" because GCC doesn't like the space. Worked around some C-style casts from (void*) because g++ 5.4.0 objects to them. Increased the buffer size for 'sprint' to pass the gcc 7.1.0 'sprint overflow' check that is on by default with -Wall -Wextra.
Glenn Randers-Pehrson b363e01e 2017-03-16T07:21:03 [master] Imported from libpng-1.6.29.tar
Glenn Randers-Pehrson d42e88d5 2017-03-16T07:21:03 [libpng16] Imported from libpng-1.6.29.tar
Glenn Randers-Pehrson dd24a6ca 2017-01-12T09:51:36 [libpng16] Imported from libpng-1.6.29beta01.tar
Glenn Randers-Pehrson 4c0740c8 2017-01-12T09:48:12 [libpng16] Simplified conditional compilation in pngvalid.c, for AIX (Michael Felt).
Glenn Randers-Pehrson e4b59e55 2016-12-28T18:45:09 [master] Imported from libpng-1.6.27.tar
Glenn Randers-Pehrson a3b5edc9 2016-12-28T18:45:09 [libpng16] Bump version to 1.6.27
Glenn Randers-Pehrson 61a9a054 2016-12-27T07:37:23 [libpng16] Imported from libpng-1.6.27rc01.tar
John Bowler 13a354f8 2016-12-26T16:24:40 Remove 'defined' within macro This removes the use of a macro containing the pre-processor 'defined' operator. It is unclear whether this is valid; a macro which "generates" 'defined' is not permitted, but the use of the work "generates" within the C90 standard seems to imply more than simple substitution of an expression itself containing a well-formed defined operation. Signed-off-by: John Bowler <jbowler@acm.org>
Glenn Randers-Pehrson 35cbe764 2016-10-19T19:07:25 [master] Imported from libpng-1.6.26.tar
Glenn Randers-Pehrson 0c440812 2016-10-19T19:07:25 [libpng16] Imported from libpng-1.6.26.tar
Glenn Randers-Pehrson ad3318dd 2016-10-01T19:40:18 [libpng16] Bump version to 1.6.26beta03
Glenn Randers-Pehrson b5b77a72 2016-09-30T21:34:21 Revert "[libpng16] Quieted about 100 warnings from clang-3.8 in pngtrans.c, pngread.c," This reverts commit 97dfccb6325e54d45c4440b6dd037619d88688cc.
Glenn Randers-Pehrson 97dfccb6 2016-09-30T21:02:03 [libpng16] Quieted about 100 warnings from clang-3.8 in pngtrans.c, pngread.c, pngwrite.c, pngunknown.c, and pngvalid.c. Several warnings still remain in pngvalid.c
John Bowler 319c9852 2016-09-30T18:37:22 Unsigned overflow Remove all currently detected cases of unsigned overflow. Detection is runtime, so test case dependent. The changes to pngvalid.c eliminate spurious and probably invalid tests with one while loop exception. Apart from that and the change to the dependence on the intended unsigned overflow in pngtrans.c the changes are limited to altering the meme for an unsigned 'x' from: while (x-- > 0) to for (; x > 0; --x) This works because, in all cases, the control variable is not used in the loop. The 'while' meme was, at one time, warn'ed by GCC so it is probably a good change, for some weird religious value of good. Signed-off-by: John Bowler <jbowler@acm.org>
Glenn Randers-Pehrson 0c29ab2b 2016-08-03T21:16:26 [master] Imported from libpng-1.6.24.tar
Glenn Randers-Pehrson b50d5cea 2016-08-03T21:16:26 [libpng16] Imported from libpng-1.6.24.tar
Glenn Randers-Pehrson 9b14f5f8 2016-07-13T17:21:31 [libpng16] Fix a bad indent in pngvalid.c
Glenn Randers-Pehrson 66f796e7 2016-07-04T08:31:04 [libpng16] Imported from libpng-1.6.24beta03.tar
Glenn Randers-Pehrson 11c88033 2016-07-02T14:29:29 [libpng16] Added "Common linking failures" section to INSTALL
John Bowler 54feb0ad 2016-07-02T07:37:37 pngimage: correct #define checking In libpng 1.7 pngimage needs to check PNG_WRITE_PNG_SUPPORTED (new in 1.7), not PNG_WRITE_SUPPORTED because png_write_png can be disabled without disabling PNG_WRITE_SUPPORTED. Copied the approach from 1.6 pngcp.c (so this still works in 1.6 as well.)
Glenn Randers-Pehrson b733c50b 2016-07-01T18:42:07 [libpng16] Updated CHANGES and ANNOUNCE
John Bowler 0ac91cc6 2016-06-28T19:18:09 pngcp: tool to copy PNG files This adds pngcp to the build together with a pngcp.dfa configuration test; the test revealed some configuration bugs which are fixed by corrections to the _SUPPORTED macros. pngcp builds on all tested configurations and a number of bugs have been fixed to make this happen relative to the version in libpng 1.7 contrib/examples. pngcp.dfa will have to be different for 1.7 but pngcp.c should work fine (not yet tested). pngcp itself is still missing a usage message; this is a preliminary version, although since it behaves the same way as 'cp' most unoids shouldn't have a problem using it correctly. Signed-off-by: John Bowler <jbowler@acm.org>
Glenn Randers-Pehrson 3f2879bf 2016-06-23T11:18:32 [libpng16] Imported from libpng-1.6.24beta02.tar
Glenn Randers-Pehrson 4b4a9583 2016-06-23T10:58:24 [libpng16] Imported from libpng-1.6.24beta02.tar
John Bowler 21d9e6e0 2016-06-22T17:38:56 SKIP definition in pngstest.c misplaced The SKIP definition needs to come after the png.h include (see all the other .c files in contrib/libtests) because it depends on PNG_LIBPNG_VER. This commit puts it in the correct place. Signed-off-by: John Bowler <jbowler@acm.org>
John Bowler 98af5054 2016-06-22T17:37:20 Fix MSVC Level 4 warning MSVC does not like (uInt) = -(unsigned) (i.e. as an initializer), but it is fine with it if the conversion is explicitly invoked by a cast. Signed-off-by: John Bowler <jbowler@acm.org>
Glenn Randers-Pehrson 5a8b0413 2016-06-09T06:44:58 [master] Imported from libpng-1.6.23.tar
Glenn Randers-Pehrson ed6db9d8 2016-06-09T06:44:58 [libpng16] Imported from libpng-1.6.23.tar
John Bowler bd2370c0 2016-05-30T08:12:51 pngvalid.c: don't use size_t count arguments Coverity rejects code where an array element count has type size_t, this elminates the code in question from contrib/libtests/pngvalid.c Signed-off-by: John Bowler <jbowler@acm.org>
Glenn Randers-Pehrson dbfd68ae 2016-05-29T15:47:57 [libpng16] Update CHANGES, ANNOUNCE, and change date in pngvalid.c
John Bowler 801b925e 2016-05-29T09:30:00 pngvalid.c: correct progressive read input buffer The previous version of the code invariably passed just one byte at a time to libpng. The intention was to pass a random number of bytes in the range 0..511 (and this is what happens now). Signed-off-by: John Bowler <jbowler@acm.org>
Glenn Randers-Pehrson 84cc7381 2016-05-29T09:40:11 [libpng16] Imported from libpng-1.6.23beta01.tar
Glenn Randers-Pehrson 87c14c52 2016-05-25T22:41:46 [master] Imported from libpng-1.6.22.tar
Glenn Randers-Pehrson ac43a878 2016-05-25T22:41:46 [libpng16] Imported from libpng-1.6.22.tar
Glenn Randers-Pehrson 37ab4d94 2016-05-18T07:21:46 [libpng16] Imported from libpng-1.6.22rc03.tar
Glenn Randers-Pehrson 21939d36 2016-04-29T21:48:52 [libpng16] Use PNG_UINT_31_MAX instead of constant 0x7fffffff in timepng.c
Glenn Randers-Pehrson 8c754b18 2016-04-28T21:23:37 [libpng16] Quieted two Coverity issues in contrib/libtests/timepng.c.
John Bowler af9d06e0 2016-04-13T10:04:08 timepng: better errors, fix signed overflow Too many input files would overflow nfiles Signed-off-by: John Bowler <jbowler@acm.org>
John Bowler 703944c3 2016-04-13T09:37:25 timepng: C++ fixes, correct add_one_file timepng would could a file as added even if it failed and the assembly file got rewound. Signed-off-by: John Bowler <jbowler@acm.org>
John Bowler e81f16bf 2016-04-12T21:17:22 timepng: more support requirements Signed-off-by: John Bowler <jbowler@acm.org>
John Bowler 7572840c 2016-04-12T21:10:04 timepng requires STDIO Signed-off-by: John Bowler <jbowler@acm.org>
John Bowler 569a1d27 2016-04-12T21:04:27 Fix timepng 'skip' return code. Signed-off-by: John Bowler <jbowler@acm.org>
John Bowler d642eede 2016-04-12T21:01:50 timepng: fix builds when there is no read support Signed-off-by: John Bowler <jbowler@acm.org>
John Bowler 5b0a0ded 2016-04-12T20:43:29 ANSI C overlength string fix Signed-off-by: John Bowler <jbowler@acm.org>
Krishnaraj Bhat 46c47291 2016-03-07T13:56:15 gcc6: fix misleading indentation warning Although not a bug in this case, but shows up when -Wall is used
John Bowler 2a25fc41 2016-02-27T21:35:29 [libpng16] timepng usage message, ability to cache the test set This makes tests slightly quicker by allowing the temporary file to be created beforehand. Signed-off-by: John Bowler <jbowler@acm.org>
John Bowler 4b4700ce 2016-02-27T21:35:29 Usage message, ability to cache the test set This makes tests slightly quicker by allowing the temporary file to be created beforehand. Signed-off-by: John Bowler <jbowler@acm.org>
Glenn Randers-Pehrson 0df91242 2016-02-26T19:35:59 [libpng16] Update CHANGES and ANNOUNCE, about timepng.c
John Bowler 9821954e 2016-02-26T16:33:38 contrib/libtests/timepng: make robust, improve The code no longer gives up/fails on invalid PNG data, it just skips it (with error messages). The code no longer fails on PNG files with data beyond IEND. Options exist to use png_read_png (reading the whole image, not by row) and, in that case, to apply any of the supported transforms. This makes for more realistic testing; the decoded data actually gets used in a meaningful fashion. Signed-off-by: John Bowler <jbowler@acm.org>
Glenn Randers-Pehrson a4a54aa1 2016-02-08T17:04:04 [libpng16] Imported from libpng-1.6.22beta02.tar
John Bowler e717842a 2016-01-28T23:10:04 pngstest: options to fix per-file seed Also avoid command output substition in tests/pngstest and fix the collation locale to ASCII/C/POSIX Signed-off-by: John Bowler <jbowler@acm.org>
John Bowler 98c6fa24 2016-01-27T16:22:51 PNG_IMAGE_PNG_SIZE_MAX error correction The macro underreported the size (by up to 512 bytes) of an 8-bit non-color palette based memory format because it failed to take into account that the memory palette has to be expanded to full RGB when it is written to PNG. This is not likely to be a serious bug because the macro is new, the memory format in question is likely to be rarely used and the result of an undersized buffer fails in a safe way. Signed-off-by: John Bowler <jbowler@acm.org>
John Bowler ac796d3f 2016-01-26T17:55:39 Only use exit(77) in configure builds Signed-off-by: John Bowler <jbowler@acm.org>
Glenn Randers-Pehrson f6a23fe2 2016-01-23T13:55:26 [libpng16] Imported from libpng-1.6.22beta01.tar
Glenn Randers-Pehrson 93a3bc73 2016-01-23T10:09:18 [libpng16] Revised workaround for Coverity issue in pngvalid.c
John Bowler 7f576964 2016-01-18T19:19:14 pngunknown.c: handle unknown IDAT This is the test backported from 1.7 to ensure that when treating IDATs as unknown the test does not fail if there are more than one IDAT chunks in the file. Signed-off-by: John Bowler <jbowler@acm.org>
John Bowler c68f20ce 2016-01-18T10:50:46 Merge branch 'libpng16' into libpng16-simple-memory-II
Glenn Randers-Pehrson 94f4e972 2016-01-18T12:43:36 Merge branch 'libpng16-simple-memory-II' of git://github.com/jbowler/libpng-1 into libpng16
John Bowler 175a126a 2016-01-18T09:53:38 Simplified API: write-to-memory, overflow handling This implements an API and provides a number of assist macros to allow an application which uses the simplified API write to bypass stdio and write directly to memory. It also includes some warnings (png.h) and some check code to detect *possible* overflow in the ROW_STRIDE and simplified image SIZE macros. This disallows image width/height/format that *might* overflow. A quiet API change that limits in-memory image size (uncompressed) to less that 4GByte and image row size (stride) to less than 2GByte. Signed-off-by: John Bowler <jbowler@acm.org>
Glenn Randers-Pehrson 95d2726e 2016-01-18T09:24:23 [libpng16] Update change dates in pngvalid.c and pngfix.c
Glenn Randers-Pehrson b8dbd78d 2016-01-18T09:09:33 [libpng16] Updated CHANGES, ANNOUNCE, and copyright notice in pngunknown.c
John Bowler 777dbf46 2016-01-18T00:40:46 pngunknown: fix NO_STDIO build pngunknown.c calls png_init_io (always), skip the test if there is no stdio.h support. Signed-off-by: John Bowler <jbowler@acm.org>
Glenn Randers-Pehrson e8558d21 2016-01-17T16:08:39 [libpng16] Changed PNG_USE_MKSTEMP to __COVERITY__ to select alternate "tmpfile()" implementation in contrib/libtests/pngstest.c
Glenn Randers-Pehrson 5031c77d 2016-01-16T07:14:12 [libpng16] Bump version to 1.6.22beta01
Glenn Randers-Pehrson 5756fcab 2016-01-15T09:52:13 [master] Imported from libpng-1.6.21.tar
Glenn Randers-Pehrson fc0786a4 2016-01-15T09:52:13 [libpng16] Imported from libpng-1.6.21.tar
Glenn Randers-Pehrson 780079e7 2016-01-13T09:50:41 [libpng16] Worked around a false-positive Coverity issue in pngvalid.c.