[svn] gpgme - r1356 - trunk/src
svn author wk
cvs at cvs.gnupg.org
Wed Feb 4 17:48:26 CET 2009
Author: wk
Date: 2009-02-04 17:48:25 +0100 (Wed, 04 Feb 2009)
New Revision: 1356
Modified:
trunk/src/ChangeLog
trunk/src/w32-glib-io.c
trunk/src/w32-qt-io.cpp
Log:
Fix spawn prototype for w32 glib and qt versions.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2009-02-04 16:42:25 UTC (rev 1355)
+++ trunk/src/ChangeLog 2009-02-04 16:48:25 UTC (rev 1356)
@@ -1,3 +1,9 @@
+2009-02-04 Werner Koch <wk at 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 at g10code.com>
* gpgme.h.in (struct _gpgme_subkey): Add fields IS_CARDKEY and
Modified: trunk/src/w32-glib-io.c
===================================================================
--- trunk/src/w32-glib-io.c 2009-02-04 16:42:25 UTC (rev 1355)
+++ trunk/src/w32-glib-io.c 2009-02-04 16:48:25 UTC (rev 1356)
@@ -448,7 +448,7 @@
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;
Modified: trunk/src/w32-qt-io.cpp
===================================================================
--- trunk/src/w32-qt-io.cpp 2009-02-04 16:42:25 UTC (rev 1355)
+++ trunk/src/w32-qt-io.cpp 2009-02-04 16:48:25 UTC (rev 1356)
@@ -397,7 +397,7 @@
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;
More information about the Gnupg-commits
mailing list