diff options
author | Werner Koch <[email protected]> | 2014-04-10 09:15:40 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-04-10 09:15:40 +0000 |
commit | 617d3be629229cbebfdc2d26a4e854bc4fe38a68 (patch) | |
tree | b902d19f29973c804ab7268af6d4abef91cff536 /src/engine-gpgconf.c | |
parent | Add configure option --enable-fixed-path. (diff) | |
download | gpgme-617d3be629229cbebfdc2d26a4e854bc4fe38a68.tar.gz gpgme-617d3be629229cbebfdc2d26a4e854bc4fe38a68.zip |
Make sure a spawned process has all standard fds connected.
* src/posix-io.c (_gpgme_io_spawn): dup /dev/null also to unsued
stdout.
--
Better be sure that stdout of a spawned process is connected to stdout
so that the process does not run into a write error if it writes to
stdout. AFAICS we always use a connected stdout; thus this is only
for correctness.
Diffstat (limited to 'src/engine-gpgconf.c')
0 files changed, 0 insertions, 0 deletions