[gimp/gimp-2-10] plug-ins: use g_fopen(filename, "w+b") instead of "wb+" to fix SGI format export on the Microsoft Wi
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] plug-ins: use g_fopen(filename, "w+b") instead of "wb+" to fix SGI format export on the Microsoft Wi
- Date: Fri, 15 Jun 2018 08:06:58 +0000 (UTC)
commit 73c67d9612fca571a456bceab498536e88737c7c
Author: Michael Schumacher <schumaml gmx net>
Date: Fri Jun 15 07:59:43 2018 +0000
plug-ins: use g_fopen(filename, "w+b") instead of "wb+" to fix SGI format export on the Microsoft Windows
platforms
(cherry picked from commit c93727e7917eccd13c0a3e8ba290630eed8b4bd8)
plug-ins/file-sgi/sgi-lib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/file-sgi/sgi-lib.c b/plug-ins/file-sgi/sgi-lib.c
index c26e24e883..3b68ac93a2 100644
--- a/plug-ins/file-sgi/sgi-lib.c
+++ b/plug-ins/file-sgi/sgi-lib.c
@@ -260,7 +260,7 @@ sgiOpen(const char *filename, /* I - File to open */
if (mode == SGI_READ)
file = g_fopen(filename, "rb");
else
- file = g_fopen(filename, "wb+");
+ file = g_fopen(filename, "w+b");
if (file == NULL)
return (NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]