mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* photoid.c: Provide default image viewer for Win32.
* misc.c (pct_expando): %t means extension, not name ("jpg", not "jpeg"). * keyserver.c (keyserver_spawn), photoid.c (show_photos), exec.h, exec.c: Allow the caller to determine the temp file extension when starting an exec_write and change all callers.
This commit is contained in:
parent
201ad25df9
commit
4991e018bf
6 changed files with 34 additions and 14 deletions
|
@ -11,11 +11,11 @@ struct exec_info
|
|||
pid_t child;
|
||||
FILE *tochild;
|
||||
IOBUF fromchild;
|
||||
char *command,*tempdir,*tempfile_in,*tempfile_out;
|
||||
char *command,*ext,*tempdir,*tempfile_in,*tempfile_out;
|
||||
};
|
||||
|
||||
int exec_write(struct exec_info **info,const char *program,
|
||||
const char *args_in,int writeonly,int binary);
|
||||
const char *args_in,const char *ext,int writeonly,int binary);
|
||||
int exec_read(struct exec_info *info);
|
||||
int exec_finish(struct exec_info *info);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue