1
0
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:
NIIBE Yutaka 2023-06-27 14:58:13 +09:00
parent b9b0c18320
commit 631c23b664
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054

View File

@ -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)