<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libgpg-error/src, branch gniib/t8065</title>
<subtitle>Error codes used by GnuPG et al.</subtitle>
<id>http://git.bktus.com/gpgfrontend/libgpg-error/atom?h=gniib%2Ft8065</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/libgpg-error/atom?h=gniib%2Ft8065'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/'/>
<updated>2026-02-03T04:23:14Z</updated>
<entry>
<title>spawn:posix: Take care of POSIX semaphore "shared" semantics.</title>
<updated>2026-02-03T04:23:14Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2026-02-03T04:23:14Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=6e40339569fc45eb6ac9e763646bd7742e035650'/>
<id>urn:sha1:6e40339569fc45eb6ac9e763646bd7742e035650</id>
<content type='text'>
* src/spawn-posix.c (spawn_detached): Don't call _gpgrt_post_syscall
on the child process.
(_gpgrt_process_spawn): Likewise.

--

On NetBSD, a POSIX semaphore is somehow shared among processes, even
if sem_init is called with PSHARED=0.

GnuPG-bug-id: 8065
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>w32:spawn: Handle the case where -&gt;hProcess has invalid handle.</title>
<updated>2026-01-07T02:52:27Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2026-01-07T02:52:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=753f59cd2c7af7e2665729721728ce5f9f08013b'/>
<id>urn:sha1:753f59cd2c7af7e2665729721728ce5f9f08013b</id>
<content type='text'>
* src/spawn-w32.c (_gpgrt_process_terminat): Care about the case
it's INVALID_HANDLE_VALUE.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>w32: Fix a syntax error in a non-DLL build</title>
<updated>2025-12-12T10:34:00Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-12-12T10:34:00Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=421e101cf9760a4bc4f296d12ce25a7c3fe5b7b2'/>
<id>urn:sha1:421e101cf9760a4bc4f296d12ce25a7c3fe5b7b2</id>
<content type='text'>
* src/w32-utils.c (_gpgrt_w32__init_utils): Fix syntax error.
</content>
</entry>
<entry>
<title>argparse: gpgrt_fconcat to get the SYSCONFDIR.</title>
<updated>2025-12-09T11:12:30Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-12-09T11:06:35Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=6fe7cf710254d78ada27fbf63747ab0e97bc6979'/>
<id>urn:sha1:6fe7cf710254d78ada27fbf63747ab0e97bc6979</id>
<content type='text'>
* src/stringutils.c (_gpgrt_fconcat): New internal function.
* src/argparse.c (_gpgrt_argparser): Use it.
--

This fixes the conf files default also for Windows.

Updates-commmit: a9fc729253eec88f56d810bd2a8edd327267c5b4
GnuPG-bug-id: 7894
</content>
</entry>
<entry>
<title>New function gpgrt_fconcat.</title>
<updated>2025-12-09T10:46:22Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-12-09T10:46:22Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=34dba88757fedb61d1ea63616a3e03837ccf50ab'/>
<id>urn:sha1:34dba88757fedb61d1ea63616a3e03837ccf50ab</id>
<content type='text'>
* src/w32-utils.c: New.
* src/init.c (_gpg_err_init, DllMain): Call new init function.
* src/visibility.c (gpgrt_fconcat): New.
* src/gpg-error.h.in (gpgrt_fconcat): New prototype.
(GPGRT_FCONCAT_ABS): New.
(GPGRT_FCONCAT_TILDE): New.
(GPGRT_FCONCAT_SYSCONF): New.
* src/gpg-error.def.in (gpgrt_fconcat): New.
* src/gpg-error.vers: (gpgrt_fconcat): New.
* src/stringutils.c (_gpgrt_vfnameconcat): Repalce want-abs but a new
flags arg.  Change to support GPGRT_FCONCAT_SYSCONF.  Fix tilde
expansion under Windows to use CISDL_PROFILE instead of $HOME.  Adjust
all callers.

* src/gpg-error.c (main): New command "fconcat".
--

This function allows to get the sysconfig directory in a portable way.
On Windows this is CISDL_COMMON_APPDATA\GNU\etc.  On Unix this is the
directory specified at the configure run.

This patch also changes the behaviour of tilde expansion in Windows
which was not well defined.  It does now use CISDL_PROFILE instead of
the HOME envvar which is uncommon under Windows.  Note that under
Windows "~user/foo" is still not defined.  Tilde expansion is not done
when GPGRT_FCONCAT_SYSCONF is used.

GnuPG-bug-id: 7894
</content>
</entry>
<entry>
<title>Dynload GetThreadUILanguage to keep support for Windows XP</title>
<updated>2025-11-26T11:08:45Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-11-26T11:08:45Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=cb7f580639cc7cc43cf279b0755e8261882b9f93'/>
<id>urn:sha1:cb7f580639cc7cc43cf279b0755e8261882b9f93</id>
<content type='text'>
* src/w32-gettext.c (get_thread_ui_language): New func ptr.
(module_init): Initialize it.
(my_nl_locale_name): Use it instead of a direct call.
</content>
</entry>
<entry>
<title>Use UI language instead of locale for translations</title>
<updated>2025-11-26T10:28:31Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2025-11-26T08:38:47Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=7f3e0c3942812d975fecc75b32493bb0c48b100c'/>
<id>urn:sha1:7f3e0c3942812d975fecc75b32493bb0c48b100c</id>
<content type='text'>
* src/w32-gettext.c (my_nl_locale_name): Use GetThreadUILanguage instead
of GetThreadLocale.
--

This ensures that the user configured display language is used even if
the regional format (which is meant for dates and times) is set to
another locale.

GetThreadUILanguage is available since Windows Vista and Windows Server
2008.

GnuPG-bug-id: 7874
</content>
</entry>
<entry>
<title>spawn:posix: Rename the field to ENVP to avoid a build issue.</title>
<updated>2025-11-19T04:49:16Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2025-11-19T04:49:16Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=26d740f940b3cbda43e0b06a45c86f21ebc236ed'/>
<id>urn:sha1:26d740f940b3cbda43e0b06a45c86f21ebc236ed</id>
<content type='text'>
* src/spawn-posix.c (struct gpgrt_spawn_actions): Rename the field to
ENVP.
(my_exec, _gpgrt_spawn_actions_set_environ): Follow the change.

--

Signed-off-by: Sachin T &lt;sachin.t@ibm.com&gt;
Co-authored-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>argparse: Use SYSCONFDIR for /etc.</title>
<updated>2025-11-19T04:38:15Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2025-11-19T04:38:15Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=a9fc729253eec88f56d810bd2a8edd327267c5b4'/>
<id>urn:sha1:a9fc729253eec88f56d810bd2a8edd327267c5b4</id>
<content type='text'>
* src/Makefile.am (libgpg_error_la_CPPFLAGS): Add SYSCONFDIR.
* src/argparse.c (_gpgrt_argparser): Use it.

--

GnuPG-bug-id: 7894
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>estream: Implictly enable sysopen when the the share flag is given.</title>
<updated>2025-10-07T15:26:44Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-10-07T15:26:17Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=461cb5a8ea24785ef4f8c5282e09e69bf487fa7f'/>
<id>urn:sha1:461cb5a8ea24785ef4f8c5282e09e69bf487fa7f</id>
<content type='text'>
* src/estream.c (parse_mode): Fix parsing of "share". Set sysopen
flag.
--

Updates-commit: 0b170a499a87abc4a18b6f7d76beb44901fa0cdd
</content>
</entry>
</feed>
