"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "psi/dxmainc.c" between
ghostscript-9.26.tar.xz and ghostscript-9.27.tar.xz

About: Ghostscript is an interpreter and rendering engine for the PostScript language and for PDF (GPL release).

dxmainc.c  (ghostscript-9.26.tar.xz):dxmainc.c  (ghostscript-9.27.tar.xz)
/* Copyright (C) 2001-2018 Artifex Software, Inc. /* Copyright (C) 2001-2019 Artifex Software, Inc.
All Rights Reserved. All Rights Reserved.
This software is provided AS-IS with no warranty, either express or This software is provided AS-IS with no warranty, either express or
implied. implied.
This software is distributed under license and may not be copied, This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms modified or distributed except as expressly authorized under the terms
of the license contained in the file LICENSE in this distribution. of the license contained in the file LICENSE in this distribution.
Refer to licensing information at http://www.artifex.com or contact Refer to licensing information at http://www.artifex.com or contact
skipping to change at line 79 skipping to change at line 79
fflush(stderr); fflush(stderr);
return len; return len;
} }
/*********************************************************************/ /*********************************************************************/
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
int exit_status; int exit_status;
int code = 1, code1; int code = 1, code1;
void *instance; void *instance = NULL;
int exit_code; int exit_code;
/* run Ghostscript */ /* run Ghostscript */
if ((code = gsapi_new_instance(&instance, NULL)) == 0) { if ((code = gsapi_new_instance(&instance, NULL)) == 0) {
gsapi_set_stdio(instance, gsdll_stdin, gsdll_stdout, gsdll_stderr); gsapi_set_stdio(instance, gsdll_stdin, gsdll_stdout, gsdll_stderr);
code = gsapi_init_with_args(instance, argc, argv); code = gsapi_init_with_args(instance, argc, argv);
if (code == 0) if (code == 0)
code = gsapi_run_string(instance, start_string, 0, &exit_code); code = gsapi_run_string(instance, start_string, 0, &exit_code);
code1 = gsapi_exit(instance); code1 = gsapi_exit(instance);
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)