<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/src, branch dkg/fix-T4276</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=dkg%2Ffix-T4276</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=dkg%2Ffix-T4276'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2019-04-19T05:54:52Z</updated>
<entry>
<title>core: Fix duplication of close_notify_handler for gpgsm.</title>
<updated>2019-04-19T05:54:52Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2019-04-19T05:54:52Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=7673ef7953482f42cab50dca1810e5c9d10f461e'/>
<id>urn:sha1:7673ef7953482f42cab50dca1810e5c9d10f461e</id>
<content type='text'>
* src/engine-gpgsm.c [!USE_DESCRIPTOR_PASSING] (gpgsm_new): Remove
last call to _gpgme_io_set_close_notify.

--

It is called just after the code in question for all cases.

GnuPG-bug-id: 4456
Fixes-commit: dd21ec997cf4b6ba18538c63c728478110ad1f60
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>core: Fix error return.</title>
<updated>2019-04-19T02:34:12Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2019-04-19T02:32:29Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=814f6c8de8006830f19a029a879bd92f9e584789'/>
<id>urn:sha1:814f6c8de8006830f19a029a879bd92f9e584789</id>
<content type='text'>
* src/engine.c (_gpgme_set_engine_info): Add error return.

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>core,w32: Fix minor potential memleak</title>
<updated>2019-04-09T12:24:17Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-04-09T12:24:17Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=140d694e1fddf16fa3fd2371b9a852ebb14622c8'/>
<id>urn:sha1:140d694e1fddf16fa3fd2371b9a852ebb14622c8</id>
<content type='text'>
* src/w32-util.c (_gpgme_create_process_utf8): Free converted
startup info strings.
</content>
</entry>
<entry>
<title>core,w32: Fix new w32-util functions</title>
<updated>2019-04-09T12:11:21Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-04-09T12:11:21Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=ecbba12b869106ba03e10b7b7dd80f74d086831b'/>
<id>urn:sha1:ecbba12b869106ba03e10b7b7dd80f74d086831b</id>
<content type='text'>
* src/w32-util.c (_gpgme_access): Respect mode parameter.
(_gpgme_create_process_utf8): Convert startupinfo, too.

--
This both did not show up in testing as we only use
mode F_OK and STARTUPINFOA is basically the same as
STARTUPINFOW.

Fixes commit: a82e3a0ae57a48ba173e282a050680751006c074

GnuPG-Bug-Id: T4453
</content>
</entry>
<entry>
<title>core,w32: Improve handling of Unicode paths</title>
<updated>2019-04-09T11:42:58Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-04-09T11:42:58Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=a82e3a0ae57a48ba173e282a050680751006c074'/>
<id>urn:sha1:a82e3a0ae57a48ba173e282a050680751006c074</id>
<content type='text'>
* src/dirinfo.c (get_gpgconf_item): Use _gpgme_access.
* src/posix-util.c (_gpgme_access): Add forward to normal access.
* src/sys-util.h (_gpgme_access): New for posix and w32.
* src/w32-io.c (_gpgme_io_spawn): Use _gpgme_crate_process_utf8.
* src/w32-util.c (utf8_to_wchar, utf8_to_wchar0): The usual w32 conv.
(find_program_in_dir): Use _gpgme_access.
(find_program_at_standard_place): Use wchar API and convert to UTF-8.
(_gpgme_access): Convert UTF-8 to wchar and use wchar API.
(_gpgme_create_process_utf8): Convert UTF-8 to wchar and use wchar API.

--
While we should not say that we have full support for unicode path
installations of GnuPG, this ensures that GPGME works if GPGME
itself is installed in a unicode path. e.g.: Libreoffice supports
this.

GnuPG-Bug-Id: T4453

Based on a patch provided by Egor Pugin. Thanks.
</content>
</entry>
<entry>
<title>core,w32: Show w32-spawn warning only once</title>
<updated>2019-04-09T11:25:08Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-04-09T11:25:08Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=937adfdcbb22f715c5a331e5e2d4546ac15a1b7e'/>
<id>urn:sha1:937adfdcbb22f715c5a331e5e2d4546ac15a1b7e</id>
<content type='text'>
* src/w32-io.c (_gpgme_io_spawn): Show MessageBox only once.

--
This prevents multiple message boxes from showing when
the GPGME installation is unworkable.

GnuPG-Bug-Id: T4453
</content>
</entry>
<entry>
<title>core, w32: Fix format string errors on windows</title>
<updated>2019-03-27T16:47:41Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-03-27T16:47:41Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=4a4680f8901ecdcb7e8d5ed55f48226ccfccd7c8'/>
<id>urn:sha1:4a4680f8901ecdcb7e8d5ed55f48226ccfccd7c8</id>
<content type='text'>
* src/debug.c (_gpgme_debug): Use gpgrt_vasprintf instead of
vfprintf to have a more portable format.

--
This fixes crashes on Windows because "%zu" is used which
is not natively supported on Windows but which gpgrt supports.
</content>
</entry>
<entry>
<title>core: Fix assuan logger-fd hack for windows</title>
<updated>2019-03-27T15:12:38Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-03-27T15:12:38Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=19a4c4daa2cfd075b181d5131a4b8b4d54714b8c'/>
<id>urn:sha1:19a4c4daa2cfd075b181d5131a4b8b4d54714b8c</id>
<content type='text'>
* src/assuan-support.c (my_spawn): Zero is a perfectly fine fd.
</content>
</entry>
<entry>
<title>core,w32,glib: Fix build of w32-glib-io.c</title>
<updated>2019-03-26T18:22:44Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-03-26T18:22:44Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=213c4bc1eb1f45695cc3955cc722ebb363dcbdd0'/>
<id>urn:sha1:213c4bc1eb1f45695cc3955cc722ebb363dcbdd0</id>
<content type='text'>
* src/w32-glib-io.c (_gpgme_io_pipe, _gpgme_io_connect): Do not
use TRACE_SUC in a return statement.
</content>
</entry>
<entry>
<title>core: Fix a strtoul to strtol</title>
<updated>2019-03-26T15:35:13Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-03-26T15:35:13Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=10576dc427b3746e2c3b9bc40efe618a3bd40519'/>
<id>urn:sha1:10576dc427b3746e2c3b9bc40efe618a3bd40519</id>
<content type='text'>
* src/assuan-support.c (my_spawn): Fix using strtoul for
a long.

--
This was commented on in129def87b262 and is correct.
It is signed here to better handle cases where an
invalid handle value (-1) would be passed.
</content>
</entry>
</feed>
