<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libgpg-error/src/stringutils.c, branch gpgrt-1.50</title>
<subtitle>Error codes used by GnuPG et al.</subtitle>
<id>http://git.bktus.com/gpgfrontend/libgpg-error/atom?h=gpgrt-1.50</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/libgpg-error/atom?h=gpgrt-1.50'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/'/>
<updated>2021-08-05T02:39:53Z</updated>
<entry>
<title>core: Minor clean up.</title>
<updated>2021-08-05T02:39:53Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2021-08-05T02:39:53Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=b82b0d7a8d8f69aec928a2c604c1260b34a08449'/>
<id>urn:sha1:b82b0d7a8d8f69aec928a2c604c1260b34a08449</id>
<content type='text'>
* src/stringutils.c: Remove inclusion of pwd.h.

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>w32: Support utf8 also for getcwd.</title>
<updated>2020-10-09T13:36:51Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2020-10-09T13:36:51Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=dbedf190969de1a796560cfa15fb4ea986bc79dc'/>
<id>urn:sha1:dbedf190969de1a796560cfa15fb4ea986bc79dc</id>
<content type='text'>
* src/sysutils.c (_gpgrt_getcwd) [W32]: Implement utf-8 support.
* src/w32-gettext.c (wchar_to_native): Factor some code out to ..
(wchar_to_cp): new.
(_gpgrt_wchar_to_utf8): New.
* tests/t-stringutils.c: Include windows.h.
(utf8_to_wchar): New.
(wchar_to_utf8): New.
(mygetcwd): Use wchar version for Windows.
(main): New option --pwd.
</content>
</entry>
<entry>
<title>core: Add gpgrt_fnameconcat and gpgrt_absfnameconcat.</title>
<updated>2020-02-18T07:56:33Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2020-02-18T07:53:30Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=5742b8eaf3fa9cda3dfb6b3ad0fea7485fff1a12'/>
<id>urn:sha1:5742b8eaf3fa9cda3dfb6b3ad0fea7485fff1a12</id>
<content type='text'>
* src/gpg-error.h.in (gpgrt_fnameconcat): New.
(gpgrt_absfnameconcat): New.
* src/visibility.c (gpgrt_fnameconcat, gpgrt_absfnameconcat): New.
* src/stringutils.c: New file.
(_gpgrt_vfnameconcat): New.
(_gpgrt_fnameconcat, _gpgrt_absfnameconcat): New.
* src/gpg-error.def.in: Add new functions.
* src/gpg-error.vers: Ditto.
* src/sysutils.c: Include pwd.h.
(_gpgrt_getpwdir): New.
* configure.ac: Test for pwd.h, getpwnam, getpwuid, and their _r
variants.
* src/Makefile.am (libgpg_error_la_SOURCES): Add new file.

* tests/t-stringutils.c: New.
* tests/t-common.h (xmalloc, xstrdup, xfree): New.
(die): Kludge to avoid compiler warnings.
--

The new functions are based on the code of make_filename from GnuPG.
They have been written by me ages ago with only minor modifications by
David Shaw.  I re-license them from LGPL-3.0+ OR GPL-2.0+ to
LGPL-2.1-or-later.

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