<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/src/w32-io.c, branch gpgme-2.1.2</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-2.1.2</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-2.1.2'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2026-06-29T08:14:20Z</updated>
<entry>
<title>w32: Fix typo which broke the build</title>
<updated>2026-06-29T08:14:20Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2026-06-29T08:14:20Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=413380c31074dcd7e22062e6cd3f313bfa451200'/>
<id>urn:sha1:413380c31074dcd7e22062e6cd3f313bfa451200</id>
<content type='text'>
* src/w32-io.c (_gpgme_io_spawn): Replace bogus #else with #endif.
--

Fixes-commit: df6c94f136e5411aabeb3000403f402f2a25092b
</content>
</entry>
<entry>
<title>w32: Use gpgrt_w32_set_errno if gpgrt is new enough.</title>
<updated>2026-06-25T14:04:19Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2026-06-25T13:49:47Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=df6c94f136e5411aabeb3000403f402f2a25092b'/>
<id>urn:sha1:df6c94f136e5411aabeb3000403f402f2a25092b</id>
<content type='text'>
* src/w32-io.c (_gpgme_io_spawn): Add mapping from Windows error
  number.
(_gpgme_io_select): Ditto.
</content>
</entry>
<entry>
<title>w32:io: Serialize the access to ctx-&gt;* between reader/writer and io.</title>
<updated>2026-05-19T00:35:30Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2026-05-19T00:35:30Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=6ef2d2a4d663d566df419058b93cfa52dd24e9af'/>
<id>urn:sha1:6ef2d2a4d663d566df419058b93cfa52dd24e9af</id>
<content type='text'>
* src/w32-io.c (reader, writer): Protect shared access to ctx-&gt;*
correctly, by using the internal buffer.

--

GnuPG-bug-id: 8264
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>io:w32:spawn_sans_helper: Fix inherit of HANDLES to child process.</title>
<updated>2026-05-18T05:59:27Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2026-05-18T05:59:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=168212932fb696db116780a342b23cabbcc1b74e'/>
<id>urn:sha1:168212932fb696db116780a342b23cabbcc1b74e</id>
<content type='text'>
* src/w32-io.c (_gpgme_io_spawn_sans_helper): Inherit HANDLES
correctly, even when an argument is not modified.

--

Fixes-commit: 64f80903ec9bc8897f9b2dcebb7068c02ff9ae07
GnuPG-bug-id: 7127
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>w32:spawn: Support the case without no helper.</title>
<updated>2026-01-09T04:46:31Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2026-01-09T04:42:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=64f80903ec9bc8897f9b2dcebb7068c02ff9ae07'/>
<id>urn:sha1:64f80903ec9bc8897f9b2dcebb7068c02ff9ae07</id>
<content type='text'>
* src/w32-io.c (_gpgme_io_spawn_sans_helper): New.
(_gpgme_io_spawn): Use _gpgme_io_spawn_sans_helper.

--

GnuPG-bug-id: 7127
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>w32: Use SetHandleInformation for _gpgme_io_pipe.</title>
<updated>2026-01-08T07:37:14Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2026-01-08T07:37:14Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=58c57b25575c83f372deee64d67e359ec1afb5c9'/>
<id>urn:sha1:58c57b25575c83f372deee64d67e359ec1afb5c9</id>
<content type='text'>
* src/w32-io.c (_gpgme_io_pipe): Create a pipe with bInheritHandle =
TRUE, and then clear an end by SetHandleInformation.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>w32: Fix for process handle.</title>
<updated>2026-01-08T07:33:44Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2026-01-08T07:33:44Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=dd559a6b142f672b8a633b89791349772208d9b8'/>
<id>urn:sha1:dd559a6b142f672b8a633b89791349772208d9b8</id>
<content type='text'>
* src/assuan-support.c (my_waitpid): Call __assuan_waitpid for
libassuan 3.
* src/w32-io.c (_gpgme_io_spawn): Use process handle for libassuan 3.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>w32: Fix debug print on 64-bit machine.</title>
<updated>2025-12-24T00:39:00Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2025-12-24T00:19:39Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=11a8ef0e26bfaa6c76b48ff203fd9d85350f326b'/>
<id>urn:sha1:11a8ef0e26bfaa6c76b48ff203fd9d85350f326b</id>
<content type='text'>
* src/w32-io.c (release_hddesc): Cast SOCKET to (void *) and use %p.
(reader, create_reader, destroy_reader, writer): Likewise.
(create_writer, find_writer): Likewise.
(_gpgme_io_socket): Likewise.  Add "z" modifier for NFDS.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>w32: Fix spawn for 64-bit machine.</title>
<updated>2025-12-23T07:26:42Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2025-12-23T07:17:29Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=936015d49c389a6cafc40025f7881625ded90120'/>
<id>urn:sha1:936015d49c389a6cafc40025f7881625ded90120</id>
<content type='text'>
* src/priv-io.h (struct spawn_fd_item_s): Use HANDLE for peer_name
field.
* src/dirinfo.c (read_gpgconf_dirs): Use ASSUAN_INVALID_FD for default
value for peer_name field of CFD.
* src/engine-gpgconf.c (gpgconf_read, gpgconf_write)
(gpgconf_query_swdb): Likewise.
* src/version.c (_gpgme_get_program_version): Likewise.
* src/w32-io.c (handle_to_fd): Remove.
(_gpgme_io_spawn): Assign HD to the peer_name field.  Use %p for
printing the value of peer_name field.
* src/gpgme-w32spawn.c (my_spawn): Use peer_name field with no cast.
Use %p for printing the value of peer_name field.  Remove wrong
CloseHandle calls.
(translate_get_from_file): Use HANDLE type for the TO variable.
Use strtoull on 64-bit machine.  Use ASSUAN_INVALID_FD.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>Fix portability for the use of the assuan types.</title>
<updated>2025-12-11T05:55:51Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2025-12-11T05:45:24Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=46938bdde47579786c79770eb54b9b742a1e0365'/>
<id>urn:sha1:46938bdde47579786c79770eb54b9b742a1e0365</id>
<content type='text'>
* src/assuan-support.c (my_spawn, my_waitpid): Use assuan_pid_t.
(my_socket, my_connect): Use assuan_fd_t.
* src/engine-gpg.c (start): Remove unused PID.
* src/engine-spawn.c (engspawn_start): Likewise.
* src/gpgme-w32spawn.c: Add util.h for assuan types.
* src/version.c: Likewise.
* src/wait-user.c: Likewise.
* src/posix-io.c (_gpgme_io_spawn): Use assuan_pid_t.
* src/priv-io.h (_gpgme_io_spawn): Likewise.
* src/w32-io.c (_gpgme_io_spawn): Likewise.
* src/wait-private.c: Include util.h earlier.

--

GnuPG-bug-id: 7968
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
</feed>
