mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Imported from libpng-1.7.0beta63.tar
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user