<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libgpg-error/src/gpg-error.c, branch libgpg-error-1.60</title>
<subtitle>Error codes used by GnuPG et al.</subtitle>
<id>http://git.bktus.com/gpgfrontend/libgpg-error/atom?h=libgpg-error-1.60</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/libgpg-error/atom?h=libgpg-error-1.60'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/'/>
<updated>2025-12-09T10:46:22Z</updated>
<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>estream: Extend the new share keyword to allow all modes.</title>
<updated>2025-10-07T15:03:10Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-10-07T15:03:10Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=0b170a499a87abc4a18b6f7d76beb44901fa0cdd'/>
<id>urn:sha1:0b170a499a87abc4a18b6f7d76beb44901fa0cdd</id>
<content type='text'>
* src/estream.c (X_SHARE_RW): Replace by ...
(X_SHARE_CUSTOM,X_SHARE_READ,X_SHARE_WRITE,X_SHARE_DEL): new.
(func_file_create_w32): Set share_mode accordingly.
(parse_mode): Extend the "share" keyword.

* src/gpg-error.c (main): Add option --openmode to allow testing of
the share modes.
--

Updates-commit: 2344947717d29170c918a195541db568648c7aa3
</content>
</entry>
<entry>
<title>Add commands mkdir and chdir to gpg-error</title>
<updated>2025-04-24T14:03:14Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-24T14:03:14Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=c002490a8f6dda044ae41118a6019da9ea3fc98c'/>
<id>urn:sha1:c002490a8f6dda044ae41118a6019da9ea3fc98c</id>
<content type='text'>
* src/gpg-error.c (main): Add new commands mkdir and chdir.  Allow for
commands w/o dashes.
--

Again some more or less useful stuff for testing on Windows.
</content>
</entry>
<entry>
<title>Add command --fopen to gpg-error to help testing</title>
<updated>2025-04-16T16:13:24Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-16T16:13:24Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=3c9beea348cdeaa3f3026a934b40badfb4d4bab2'/>
<id>urn:sha1:3c9beea348cdeaa3f3026a934b40badfb4d4bab2</id>
<content type='text'>
* src/gpg-error.c (main): Implement command --fopen.  Also ignore log
file settings from the Registry.
--

To test estream functions it is useful to have commands to run some of
them.  Here we use gpgrt_fopen (fname, "r,sysopen") for the --fopen
command.
</content>
</entry>
<entry>
<title>Update the copyright notice.</title>
<updated>2025-04-07T07:50:37Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-07T07:50:37Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=17bb01f86d1d75bb57418a0101c0f08a49bfdd07'/>
<id>urn:sha1:17bb01f86d1d75bb57418a0101c0f08a49bfdd07</id>
<content type='text'>
* configure.ac (GPGRT_STD_COPYRIGHT_LINE): New.
* src/gpg-error.c (my_strusage): Use it here.
</content>
</entry>
<entry>
<title>New Windows API gpgrt_w32_reg_get_string.</title>
<updated>2024-12-12T09:24:26Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2024-12-12T09:24:26Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=652328c786f37e3a3de5c3b143ce9e0d524bfeb4'/>
<id>urn:sha1:652328c786f37e3a3de5c3b143ce9e0d524bfeb4</id>
<content type='text'>
* src/w32-reg.c (_gpgrt_w32_reg_query_string): Implement a prefix for
root and consider an empty string for root also HKCU.
* src/visibility.c (gpgrt_w32_reg_get_string): New.
* src/gpg-error.def.in: Add new function.

* src/gpg-error.c (my_strusage): Print the Windows version (32 or 64
bit) of the binary.
(main): New command --getreg.
--

This function is already used internally and we have a similar
function in GnuPG.  It is much more convenient to work with this
function.

Also we can now pass the KEY_WOW64_32KEY andKEY_WOW64_64KEY flags to
the registry read functions.  For example

  !32key!HKLM\software\gnu\gnupg:ntdskeyserver

returns the value using the KEY_WOW64_32KEY flag; likewise for
!64key!.  If !cross! is used the reversed flag of the binary type is
used.
</content>
</entry>
<entry>
<title>Make --lib-version work again.</title>
<updated>2020-08-05T10:22:06Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2020-08-05T10:19:56Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=e0dab4843ded8af172c2566b4d7313a1a13e7e26'/>
<id>urn:sha1:e0dab4843ded8af172c2566b4d7313a1a13e7e26</id>
<content type='text'>
* src/gpg-error.c (main): Add printing code.
--

This was lost while changing to the included option parser back in
2018.  The new code also does some prettying of the output.

Fixes-commit: 11ce9bc3d6fe75859e18112824ae7ec3ca0fc8df
Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>tools: Allow error symbol lookup w/o the GPG_ERR_ prefix.</title>
<updated>2020-02-06T20:14:58Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2020-02-06T20:14:58Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=796b66a9449c442991cc205f8a618dffab54d8a3'/>
<id>urn:sha1:796b66a9449c442991cc205f8a618dffab54d8a3</id>
<content type='text'>
* src/gpg-error.c (get_err_from_codesymbol): New.
(main): Use it here.
--

Saves lot of typing for example when looking up an error description
using --desc.

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>Fix gpg-error.c for preprocessor use.</title>
<updated>2019-09-24T11:26:32Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2019-09-24T11:26:32Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=f73605e039493ca875f992a45730a6c99430fb14'/>
<id>urn:sha1:f73605e039493ca875f992a45730a6c99430fb14</id>
<content type='text'>
* src/gpg-error.c (main): Fix conditional compilation.

--

Reported-by:  Rey Abeleda &lt;reynaldo.abeleda@nab.com.au&gt;
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>Release 1.34</title>
<updated>2019-01-16T07:43:46Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2019-01-16T07:28:22Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=8bc75741cadf95e2fac64891cf402cde891afe64'/>
<id>urn:sha1:8bc75741cadf95e2fac64891cf402cde891afe64</id>
<content type='text'>
* configure.ac: Bump LT version to C26/A26/R0.

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
</feed>
