New Ghostscript/GhostPDL compiler warnings - 2019-06-19-11:00:02 - 108dd018b746d33ad06a7ee863fae56cbeb1fd80

[email protected] Wed, 19 Jun 2019 13:38:58 -0700 (PDT)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20190619203858.2224A20404A3@i7>
Previous Revision: 2c6484de7376ce4e24d87f1eb4c6f76360c9b928
 Current Revision: 108dd018b746d33ad06a7ee863fae56cbeb1fd80

commit 108dd018b746d33ad06a7ee863fae56cbeb1fd80
Author:     Robin Watts <[email protected]>
AuthorDate: Wed Jun 19 15:14:46 2019 +0100
CommitDate: Wed Jun 19 16:06:39 2019 +0100

    "Fix" contrib and test uses of gp_fopen.
    
    Here we fix a lot of contrib devices that had been broken by the
    changes to gp_file. I believe they all should work OK now.
    
    One of the routines was calling lib_fopen in an unsupported way; this
    can't easily be fixed, so we just call gp_fopen instead now.
    
    We also "fix" some test code that was calling gp_fopen and then doing
    things that we can't easily do with a gp_file *. This code has reverted
    to using FILE *'s and fopen - this might cause issues on compilation as
    this code is untested, but it's better than compiling to give code that
    crashes.

base/gp_vms.c
contrib/japanese/dviprlib.c
contrib/japanese/dviprlib.h
contrib/japanese/gdevdmpr.c
contrib/pscolor/test.c
devices/vector/gdevtxtw.c
psi/gserver.c



Ghostscript:

new cppcheck warnings (Cppcheck 1.72): 

contrib/japanese/dviprlib.c:510: error: Uninitialized struct member: info.file

http://miles.ghostscript.com:8080/artifex/108dd018b746d33ad06a7ee863fae56cbeb1fd80/gs-cppcheck.txt