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
|
@ -297,10 +297,10 @@ keyserver_spawn(int action,STRLIST list,
|
|||
strcat(command,KEYSERVER_ARGS_NOKEEP);
|
||||
}
|
||||
|
||||
ret=exec_write(&spawn,NULL,command,0,0);
|
||||
ret=exec_write(&spawn,NULL,command,NULL,0,0);
|
||||
}
|
||||
else
|
||||
ret=exec_write(&spawn,command,NULL,0,0);
|
||||
ret=exec_write(&spawn,command,NULL,NULL,0,0);
|
||||
|
||||
if(ret)
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue