summaryrefslogtreecommitdiff
path: root/gs/psi/imainarg.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2011-06-04 22:09:58 +0100
committerRobin Watts <Robin.Watts@artifex.com>2011-06-05 00:06:12 +0100
commit4aff3e0d813cb00eb62db9720cf99b2d419f999a (patch)
tree1fedadcc05bcdf096102e3251964e37cbc15f35e /gs/psi/imainarg.c
parent77b456f298aeabaa4b27b63a9ead0aa0470ac5b8 (diff)
Move various uses of fopen to use gp_fopen.
For portability we should be using gp_fopen, not fopen.
Diffstat (limited to 'gs/psi/imainarg.c')
-rw-r--r--gs/psi/imainarg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/psi/imainarg.c b/gs/psi/imainarg.c
index 560988b1e..19938e857 100644
--- a/gs/psi/imainarg.c
+++ b/gs/psi/imainarg.c
@@ -879,7 +879,7 @@ try_stdout_redirect(gs_main_instance * minst,
minst->heap->gs_lib_ctx->stdout_to_stderr = 1;
}
else if ((minst->heap->gs_lib_ctx->fstdout2 =
- fopen(filename, "w")) == (FILE *)NULL)
+ gp_fopen(filename, "w")) == (FILE *)NULL)
return_error(e_invalidfileaccess);
minst->heap->gs_lib_ctx->stdout_is_redirected = 1;
}