Make use of internal iospawn flags more flexible.
authorWerner Koch <wk@gnupg.org>
Thu, 10 Apr 2014 09:39:14 +0000 (11:39 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 10 Apr 2014 09:39:14 +0000 (11:39 +0200)
commit443f6b76a964b77e2e61c03592a83ffa0a6da4b1
tree25b98c027ad7810fed481bc885c7fda38796cc98
parent617d3be629229cbebfdc2d26a4e854bc4fe38a68
Make use of internal iospawn flags more flexible.

* src/priv-io.h (IOSPAWN_FLAG_DETACHED): New. Renumber the others.
* src/w32-io.c (_gpgme_io_spawn): Use DETACHED_PROCESS process only if
IOSPAWN_FLAG_DETACHED is given.
* src/w32-qt-io.cpp (_gpgme_io_spawn): Ditto.
* src/w32-glib-io.c (_gpgme_io_spawn): Ditto.
* src/assuan-support.c (my_spawn): Pass IOSPAWN_FLAG_DETACHED flags.
* src/dirinfo.c (read_gpgconf_dirs): Ditto.
* src/engine-gpg.c (start): Ditto.
* src/engine-gpgconf.c (gpgconf_read, gpgconf_write): Ditto.
* src/version.c (_gpgme_get_program_version): Ditto.
src/assuan-support.c
src/dirinfo.c
src/engine-gpg.c
src/engine-gpgconf.c
src/posix-io.c
src/priv-io.h
src/version.c
src/w32-glib-io.c
src/w32-io.c
src/w32-qt-io.cpp