From 471febf4fff4fc94d8757755c7c063f4eedf5966 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 4 Feb 2009 16:48:25 +0000 Subject: [PATCH] Fix spawn prototype for w32 glib and qt versions. --- trunk/src/ChangeLog | 6 ++++++ trunk/src/w32-glib-io.c | 2 +- trunk/src/w32-qt-io.cpp | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/trunk/src/ChangeLog b/trunk/src/ChangeLog index f98e1a3..1cd8643 100644 --- a/trunk/src/ChangeLog +++ b/trunk/src/ChangeLog @@ -1,3 +1,9 @@ +2009-02-04 Werner Koch + + * w32-glib-io.c (_gpgme_io_spawn): Make ARGV argument const to + match prototype. + * w32-qt-io.cpp (_gpgme_io_spawn): Ditto. + 2009-02-03 Werner Koch * gpgme.h.in (struct _gpgme_subkey): Add fields IS_CARDKEY and diff --git a/trunk/src/w32-glib-io.c b/trunk/src/w32-glib-io.c index f4afc7e..c646edc 100644 --- a/trunk/src/w32-glib-io.c +++ b/trunk/src/w32-glib-io.c @@ -448,7 +448,7 @@ build_commandline (char **argv) int -_gpgme_io_spawn (const char *path, char **argv, +_gpgme_io_spawn (const char *path, char * const argv[], struct spawn_fd_item_s *fd_list, pid_t *r_pid) { SECURITY_ATTRIBUTES sec_attr; diff --git a/trunk/src/w32-qt-io.cpp b/trunk/src/w32-qt-io.cpp index 43f94fd..681493f 100644 --- a/trunk/src/w32-qt-io.cpp +++ b/trunk/src/w32-qt-io.cpp @@ -397,7 +397,7 @@ build_commandline (char **argv) int -_gpgme_io_spawn (const char *path, char **argv, +_gpgme_io_spawn (const char *path, char * const argv[], struct spawn_fd_item_s *fd_list, pid_t *r_pid) { SECURITY_ATTRIBUTES sec_attr; -- 2.26.2