[libpng16] Imported from libpng-1.6.18beta07.tar

This commit is contained in:
Glenn Randers-Pehrson
2015-06-06 16:31:52 -05:00
parent b26b51d154
commit 867f2ec058
20 changed files with 69 additions and 48 deletions

View File

@@ -3245,7 +3245,8 @@ write_one_file(Image *output, Image *image, int convert_to_8bit)
if (image->opts & USE_STDIO)
{
FILE *f = tmpfile();
char tmpfile[] = "pngstest-XXXXXX";
FILE *f = fopen(mktemp(tmpfile),"w+");
if (f != NULL)
{