diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-01-04 13:52:43 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-01-04 13:54:29 +0000 |
commit | 7a7588ce7c7cd1b0a8d55818af5d2f34dd17d3ff (patch) | |
tree | b5da3b652ac99c62ab1a2cbfd8d28aa70642536f /ijs | |
parent | 882ce8be8592ed51243c9a7190c89fb1d2d61fd8 (diff) | |
download | ghostpdl-7a7588ce7c7cd1b0a8d55818af5d2f34dd17d3ff.tar.gz |
Minimise warnings in unix ijs code calling execvp.
execvp should really take const char *args, but linux is 'inconsistent'
about this. We assume that the args are of this form in our code,
so we'd rather have 1 warning on the call on such systems, rather than
n about the setup on all systems.
Diffstat (limited to 'ijs')
-rw-r--r-- | ijs/ijs_exec_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ijs/ijs_exec_unix.c b/ijs/ijs_exec_unix.c index 86963338d..6eaddb4c7 100644 --- a/ijs/ijs_exec_unix.c +++ b/ijs/ijs_exec_unix.c @@ -57,7 +57,7 @@ ijs_exec_server(const char *server_cmd, int *pfd_to, int *pfd_from, if (child_pid == 0) { int status; - char *argv[8]; + const char *argv[8]; int i = 0; close (fds_to[1]); |