<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libgpg-error/tests, branch master</title>
<subtitle>Error codes used by GnuPG et al.</subtitle>
<id>http://git.bktus.com/gpgfrontend/libgpg-error/atom?h=master</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/libgpg-error/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/'/>
<updated>2026-08-26T01:55:02Z</updated>
<entry>
<title>tests: Fix gpgrt_bsprintf test for PowerPC 32.</title>
<updated>2026-08-26T01:55:02Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2026-08-26T01:55:02Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=747eb8798bed752ede9b4cec03507e64bf6a497a'/>
<id>urn:sha1:747eb8798bed752ede9b4cec03507e64bf6a497a</id>
<content type='text'>
* tests/t-printf.c (check_large_float): Use _ARCH_PPC to identify
Power architecture, both of 32-bit and 64-bit.

--

Fixes-commit: 9cc750a816554e46d3e1496533f927b17ef3fcef
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>tests: Fix gpgrt_bsprintf test for PowerPC 64.</title>
<updated>2026-07-29T23:48:32Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2026-07-29T23:48:32Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=9cc750a816554e46d3e1496533f927b17ef3fcef'/>
<id>urn:sha1:9cc750a816554e46d3e1496533f927b17ef3fcef</id>
<content type='text'>
* tests/t-printf.c (check_large_float): Skip the test when
it's IBM double-double.

--

Reported-by: C. Neidahl
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>tests: Skip a test when !HAVE_LONG_DOUBLE_WIDER.</title>
<updated>2026-06-25T01:53:29Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2026-06-25T01:53:29Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=bfdf7b0b7b62f4463451a7d5f8408cec75520dca'/>
<id>urn:sha1:bfdf7b0b7b62f4463451a7d5f8408cec75520dca</id>
<content type='text'>
* configure.ac (AC_TYPE_LONG_DOUBLE_WIDER): New.
* tests/t-printf.c (check_large_float): Fix a typo.
[!HAVE_LONG_DOUBLE_WIDER]: Skip the LDBL_MAX test.

--

GnuPG-bug-id: 8309
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>Fix possible stack overflow in es_printf for %.100f format.</title>
<updated>2026-04-29T12:00:08Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2026-04-29T12:00:08Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=f7ded3ce666ca8e27226dfa05b1e6b8636728441'/>
<id>urn:sha1:f7ded3ce666ca8e27226dfa05b1e6b8636728441</id>
<content type='text'>
* configure.ac: Add test for snprintf.
* src/gpgrt-int.h: Do not re-map snprintf if KEEP_SYSTEM_SNPRINTF is
  defined.
* src/estream-printf.c (KEEP_SYSTEM_SNPRINTF): Define.
  (pr_float): Increase static buffer size.  Use snprintf for long
  double.

* tests/t-printf.c: Include float.h.
(check_large_float): New.
--

GnuPG-bug-id: 8240
Reported-by: Dirk Mueller &lt;dmueller@suse.com&gt; (AI)
</content>
</entry>
<entry>
<title>w32:tests: Fix a test failure for tilde expansion.</title>
<updated>2026-01-09T02:54:56Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2026-01-09T02:54:56Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=4a1381642740210875ac461e21ea5a53a5c67912'/>
<id>urn:sha1:4a1381642740210875ac461e21ea5a53a5c67912</id>
<content type='text'>
* tests/t-stringutils.c: [HAVE_W32_SYSTEM] (mygethome): Use
fnameconcat to get HOME, instead of the environment variable.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>estream: Support the %b conversion specifier from C23</title>
<updated>2025-08-14T15:04:08Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-08-14T15:03:22Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=6ac5332e4f6988112f4272cfe7a2eee31173ff3f'/>
<id>urn:sha1:6ac5332e4f6988112f4272cfe7a2eee31173ff3f</id>
<content type='text'>
* src/estream-printf.c (CONSSPEC_BIN): New.
(compute_type): Handle it.
(parse_format): Support 'b'.
(do_format): Divert 'b' to pr_integer.
(pr_integer): Print binary format.

* tests/t-printf.c (check_fprintf_sf): Add two simple testcases.
--

Might be handy in some cases and is easy to implement.  Minor drawback
is that this increases a stack based buffer from 100 to 150 bytes.
</content>
</entry>
<entry>
<title>tests: Check that we do not use the es macros in the public API.</title>
<updated>2025-04-09T07:35:39Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-09T07:35:39Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=26b876030dbda890b9630595419b422aa182c0dd'/>
<id>urn:sha1:26b876030dbda890b9630595419b422aa182c0dd</id>
<content type='text'>
* tests/t-version.c: Undef the macros.
</content>
</entry>
<entry>
<title>argparse: Make getreg meta command work on Unix.</title>
<updated>2025-04-07T14:27:06Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-07T14:27:06Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=9864dd4d66342cca340f8ebe57f46b2fa274bac0'/>
<id>urn:sha1:9864dd4d66342cca340f8ebe57f46b2fa274bac0</id>
<content type='text'>
* src/argparse.c (_gpgrt_argparse_internal_s): Add fields no_registry
and registry.
(initialize): Init them.
(emulated_registry_lookup): New.
(handle_meta_getenv): Use it.
* tests/etc/t-argparse.conf: Add a getreg meta command.
* tests/t-argparse.c (opt): Add a disable-akr command.
* tests/etc/Registry: New.
</content>
</entry>
<entry>
<title>Add a section mode to the name-value functions.</title>
<updated>2025-04-07T12:31:38Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-07T12:31:38Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=d0b7d33536736ef6f3d41575b6f58b2d3a7c139b'/>
<id>urn:sha1:d0b7d33536736ef6f3d41575b6f58b2d3a7c139b</id>
<content type='text'>
* src/gpg-error.h.in (GPGRT_NVC_SECTION): New.
* src/name-value.c (_gpgrt_name_value_container): Add section_mode.
(_gpgrt_nvc_new): Set it.
(_gpgrt_nvc_get_flag): Return it.
(valid_name): Add arg sectionmode and change callers.
(do_nvc_parse): Parse section names in section mode.
(_gpgrt_nvc_write): Return an error in section mode.
</content>
</entry>
<entry>
<title>Allow name-value lookup w/o a trailing colon for the name.</title>
<updated>2025-04-07T09:20:53Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-07T09:20:53Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=afb277e5bdd92c16a4fdbd33b89dab4c03a5ae62'/>
<id>urn:sha1:afb277e5bdd92c16a4fdbd33b89dab4c03a5ae62</id>
<content type='text'>
* src/name-value.c (_gpgrt_name_value_entry): Add field namelen.
(ascii_memcasecmp): New.
(same_name_p): New.
(valid_name): Strip the colon and return the length.
(do_nvc_add): Set namelen.
(_gpgrt_nvc_lookup): Simplify.

* tests/t-name-value.c (test_getting_values): Add some extra tests.
--

The requirement for a colon after the name is too cumbersome.
</content>
</entry>
</feed>
