<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libgpg-error, branch gpgrt-1.51</title>
<subtitle>Error codes used by GnuPG et al.</subtitle>
<id>http://git.bktus.com/gpgfrontend/libgpg-error/atom?h=gpgrt-1.51</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/libgpg-error/atom?h=gpgrt-1.51'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/'/>
<updated>2024-11-11T10:33:20Z</updated>
<entry>
<title>Release 1.51</title>
<updated>2024-11-11T10:33:20Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2024-11-11T10:32:11Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=b0bb9266010d84b30fa2dc6a2127b7e40dc03660'/>
<id>urn:sha1:b0bb9266010d84b30fa2dc6a2127b7e40dc03660</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid use of 'nullptr' for an identifier.</title>
<updated>2024-10-22T23:48:06Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2024-10-22T23:48:06Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=d14c69a7f256a9444c5c64b808d8767e5a8ba68e'/>
<id>urn:sha1:d14c69a7f256a9444c5c64b808d8767e5a8ba68e</id>
<content type='text'>
* tests/t-printf.c (check_fprintf_sf): Use 'null_ptr'
as an identifier.

--

GnuPG-bug-id: 7344
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>spawn: Shorter identifier gpgrt_spawn_actions_set_env_rev.</title>
<updated>2024-10-16T04:58:06Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2024-10-16T04:58:06Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=1bca948594d9f8c26231bfb7ff7b2f3ebf9df295'/>
<id>urn:sha1:1bca948594d9f8c26231bfb7ff7b2f3ebf9df295</id>
<content type='text'>
* src/gpg-error.def.in: Rename to gpgrt_spawn_actions_set_env_rev.
* src/gpg-error.h.in: Likewise.
* src/gpg-error.vers: Likewise.
* src/gpgrt-int.h: Likewise.
* src/spawn-posix.c: Likewise.
* src/spawn-w32.c: Likewise.
* src/visibility.c: Likewise.
* src/visibility.h: Likewise.
* tests/t-spawn.c (run_test): Use gpgrt_spawn_actions_set_env_rev.

--

Fixes-commit: 1860f6407f834b681c21f67db7236eaad161524c
GnuPG-bug-id: 7307
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>spawn: Add new function to modify environment.</title>
<updated>2024-10-11T07:29:02Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2024-10-11T07:17:53Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=1860f6407f834b681c21f67db7236eaad161524c'/>
<id>urn:sha1:1860f6407f834b681c21f67db7236eaad161524c</id>
<content type='text'>
* src/gpg-error.def.in (gpgrt_spawn_actions_set_envchange): New.
* src/gpg-error.vers (gpgrt_spawn_actions_set_envchange): New.
* src/gpg-error.h.in (gpgrt_spawn_actions_set_envchange): New.
* src/gpgrt-int.h (_gpgrt_spawn_actions_set_envchange): New.
* src/spawn-posix.c (struct gpgrt_spawn_actions): New field ENVCHANGE.
(prepare_environ): New.
(my_exec): Take care of ENVCHANGE.
(_gpgrt_spawn_actions_set_envchange): New.
* src/spawn-w32.c (struct gpgrt_spawn_actions): New field ENVCHANGE.
(prepare_env_block): New.
(_gpgrt_spawn_actions_set_envchange): New.
(spawn_detached, _gpgrt_process_spawn): Take care of ENVCHANGE.
* src/visibility.c (gpgrt_spawn_actions_set_envchange): New.
* src/visibility.h (gpgrt_spawn_actions_set_envchange): New.
* tests/Makefile.am (TESTS): Add t-spawn.
* tests/t-spawn.c: New.

--

GnuPG-bug-id: 7307
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>w32: Fix releasing memory for UTF-8 text.</title>
<updated>2024-10-10T01:39:33Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2024-10-10T01:39:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=68600fe17c5f8c72e421b5ca9d9622568c6f57fd'/>
<id>urn:sha1:68600fe17c5f8c72e421b5ca9d9622568c6f57fd</id>
<content type='text'>
* src/spawn-w32.c (spawn_detached): Use _gpgrt_free_wchar.
(_gpgrt_process_spawn): Likewise.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>estream: Let poll return an error for a closed fd.</title>
<updated>2024-09-24T13:28:16Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2024-09-24T13:28:16Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=4a3dc85f695e6448e6279dc48894b500168f42f9'/>
<id>urn:sha1:4a3dc85f695e6448e6279dc48894b500168f42f9</id>
<content type='text'>
* src/estream.c (_gpgrt_poll): Set got_nval.
</content>
</entry>
<entry>
<title>posix: Fix forgotten _gpgrt_post_syscall on error path.</title>
<updated>2024-09-19T06:53:35Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2024-09-19T06:53:35Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=bcab96484d4858fcde669b36d309ab7fbc79174e'/>
<id>urn:sha1:bcab96484d4858fcde669b36d309ab7fbc79174e</id>
<content type='text'>
* src/spawn-posix.c (do_create_pipe_and_estream): Call post_syscall.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>posix: Fix memory leak for spawn.</title>
<updated>2024-09-19T06:40:32Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2024-09-19T06:40:32Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=4a0c942151da91ad75dbb45d4dc10c4751ee28e4'/>
<id>urn:sha1:4a0c942151da91ad75dbb45d4dc10c4751ee28e4</id>
<content type='text'>
* src/spawn-posix.c (spawn_detached): Free ARGV.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>w32:spawn: Remove unused function get_max_fds.</title>
<updated>2024-09-16T05:59:22Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2024-09-16T05:59:22Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=c2a713fe11e35b4567e0c7d2a20d8ab416b366ad'/>
<id>urn:sha1:c2a713fe11e35b4567e0c7d2a20d8ab416b366ad</id>
<content type='text'>
* src/spawn-w32.c (get_max_fds): Remove.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>w32: Clarify the environment block encoding.</title>
<updated>2024-09-06T01:39:25Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2024-09-06T01:39:25Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=0f7b327ccf6d2018b193d5598c4a8a338f874a59'/>
<id>urn:sha1:0f7b327ccf6d2018b193d5598c4a8a338f874a59</id>
<content type='text'>
* src/spawn-w32.c (_gpgrt_spawn_actions_set_envvars): It's an ASCII
string.

--

In future, we can extend it as UTF-8 string.  When doing so, we will
detect ASCII or utf-8, and if needed, convert it to Unicode wchar
string with four-byte-zero terminated, and let the flag have
CREATE_UNICODE_ENVIRONMENT.

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