Home GnuPG
Diffusion GPGME 617d3be62922

Make sure a spawned process has all standard fds connected.
617d3be62922Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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.

Details

Provenance
wernerAuthored on Apr 10 2014, 11:15 AM
Parents
rM766355b5d4f6: Add configure option --enable-fixed-path.
Branches
Unknown
Tags
Unknown

Event Timeline