[gs-commits] ghostpdl branch, master, updated. jbig2dec-0.14-1928-gaa30c07

[email protected] (Michael Vrhel) Thu, 21 Nov 2019 18:47:22 +0000 (UTC)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
The ghostpdl branch, master has been updated
       via  aa30c0798d32decfd99ff8149553221917d4301e (commit)
      from  4640b5abd48430bfc76cc4e98cd626aa64075537 (commit)

----------------------------------------------------------------------
commit aa30c0798d32decfd99ff8149553221917d4301e
Author: Michael Vrhel <[email protected]>
Date:   Thu Nov 21 10:45:59 2019 -0800

    Use gp_fwrite instead of fwrite.

diff --git a/base/gsicc_manage.c b/base/gsicc_manage.c
index 9de2a52..5c400b9 100644
--- a/base/gsicc_manage.c
+++ b/base/gsicc_manage.c
@@ -2846,7 +2846,7 @@ dump_icc_buffer(const gs_memory_t *mem, int buffersize, char filename[],byte *Bu
 
     gs_sprintf(full_file_name,"%d)%s_debug.icc",global_icc_index,filename);
     fid = gp_fopen(mem, full_file_name,"wb");
-    fwrite(Buffer,sizeof(unsigned char),buffersize,fid);
+    gp_fwrite(Buffer,sizeof(unsigned char),buffersize,fid);
     fclose(fid);
 }
 #endif


Summary of changes:
 base/gsicc_manage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)