mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Reworked passing of envars to Pinentry.
This commit is contained in:
parent
58e6e28bb1
commit
f6f5430e50
31 changed files with 1169 additions and 352 deletions
|
@ -69,7 +69,7 @@ xget_all_open_fds (void)
|
|||
|
||||
/* That is a very crude test. To do a proper test we would need to
|
||||
fork a test process and best return information by some other means
|
||||
that file descriptors. */
|
||||
than file descriptors. */
|
||||
static void
|
||||
test_close_all_fds (void)
|
||||
{
|
||||
|
@ -77,7 +77,7 @@ test_close_all_fds (void)
|
|||
int *array;
|
||||
int fd;
|
||||
int initial_count, count, n;
|
||||
#if 1
|
||||
#if 0
|
||||
char buffer[100];
|
||||
|
||||
snprintf (buffer, sizeof buffer, "/bin/ls -l /proc/%d/fd", (int)getpid ());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue