Commit 46f6cb7f authored by Sven Neumann's avatar Sven Neumann

Changed fopen parameters for portability.


--Sven
parent 7b6ea71d
Fri May 29 21:36:36 MEST 1998 Sven Neumann <sven@gimp.org>
* app/xcf.c: changed fopen parameters for better portability
Thu May 28 20:12:02 MEST 1998 Sven Neumann <sven@gimp.org>
* scripts/blend-anim.scm: use gimp-message to output an
......
......@@ -294,7 +294,7 @@ xcf_load_invoker (Argument *args)
filename = args[1].value.pdb_pointer;
info.fp = fopen (filename, "r");
info.fp = fopen (filename, "rb");
if (info.fp)
{
info.cp = 0;
......@@ -362,7 +362,7 @@ xcf_save_invoker (Argument *args)
gimage = gimage_get_ID (args[1].value.pdb_int);
filename = args[3].value.pdb_pointer;
info.fp = fopen (filename, "w");
info.fp = fopen (filename, "wb");
if (info.fp)
{
info.cp = 0;
......
......@@ -294,7 +294,7 @@ xcf_load_invoker (Argument *args)
filename = args[1].value.pdb_pointer;
info.fp = fopen (filename, "r");
info.fp = fopen (filename, "rb");
if (info.fp)
{
info.cp = 0;
......@@ -362,7 +362,7 @@ xcf_save_invoker (Argument *args)
gimage = gimage_get_ID (args[1].value.pdb_int);
filename = args[3].value.pdb_pointer;
info.fp = fopen (filename, "w");
info.fp = fopen (filename, "wb");
if (info.fp)
{
info.cp = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment