mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpgtar: Use FD on POSIX.
* tools/gpgtar.c (main): Fix the use of the union. -- Fixes-commit: 2756147e392c8f58fc79db6b9420b306b6ddd082 GnuPG-bug-id: 6562 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
b9b0c18320
commit
631c23b664
@ -544,7 +544,7 @@ main (int argc, char **argv)
|
||||
syshd.u.handle = hd;
|
||||
#else
|
||||
syshd.type = ES_SYSHD_FD;
|
||||
syshd.u.handle = fd;
|
||||
syshd.u.fd = fd;
|
||||
#endif
|
||||
opt.status_stream = es_sysopen (&syshd, "w");
|
||||
if (opt.status_stream)
|
||||
|
Loading…
x
Reference in New Issue
Block a user