From 7a7588ce7c7cd1b0a8d55818af5d2f34dd17d3ff Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Mon, 4 Jan 2016 13:52:43 +0000 Subject: 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. --- ijs/ijs_exec_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ijs') 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]); -- cgit v1.2.1