1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

gpg-agent.c (main): In detached mode connect standard descriptors to /dev/null.

Other minor fixes
This commit is contained in:
Werner Koch 2006-11-09 16:09:46 +00:00
parent fac4babd9d
commit c1f4a8edff
4 changed files with 24 additions and 4 deletions

View file

@ -317,8 +317,7 @@ read_trustfiles (void)
}
/* Fixme: we should drop duplicates and sort the table. */
ti = xtryrealloc (table, tableidx * sizeof *table);
ti = xtryrealloc (table, (tableidx?tableidx:1) * sizeof *table);
if (!ti)
{
xfree (table);