mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* exec.h, exec.c (make_tempdir, expand_args, exec_write, exec_read):
Minor cleanup to use bitfield flags instead of a bunch of integers.
This commit is contained in:
parent
5cb51422f9
commit
2e8c02b54b
3 changed files with 38 additions and 24 deletions
10
g10/exec.h
10
g10/exec.h
|
@ -28,7 +28,15 @@
|
|||
|
||||
struct exec_info
|
||||
{
|
||||
int progreturn,binary,writeonly,madedir,use_temp_files,keep_temp_files;
|
||||
int progreturn;
|
||||
struct
|
||||
{
|
||||
unsigned int binary:1;
|
||||
unsigned int writeonly:1;
|
||||
unsigned int madedir:1;
|
||||
unsigned int use_temp_files:1;
|
||||
unsigned int keep_temp_files:1;
|
||||
} flags;
|
||||
pid_t child;
|
||||
FILE *tochild;
|
||||
IOBUF fromchild;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue