Fix spawn prototype for w32 glib and qt versions.

This commit is contained in:
Werner Koch 2009-02-04 16:48:25 +00:00
parent 259cbefd5c
commit d118b5a2ee
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2009-02-04 Werner Koch <wk@g10code.com>
* 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 <wk@g10code.com>
* gpgme.h.in (struct _gpgme_subkey): Add fields IS_CARDKEY and

View File

@ -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;

View File

@ -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;