[pkg-gnupg-maint] Bug#806940: Bug#806940: Bug#806940: gpgv-static possible?
Werner Koch
wk at gnupg.org
Thu Nov 10 09:42:58 UTC 2016
On Wed, 9 Nov 2016 14:48, dkg at fifthhorseman.net said:
> So looking at get_pwdir in common/stringhelp.c, all of those calls are
> inside the get_pwdir function, wrapped in an #ifdef HAVE_PWD_H. This
> code is used for tilde(~) expansion inside do_make_filename(), which
> itself is a helper function for the make_{,abs}filename{,_try}
> functions. if it's an isolated tilde, and $HOME is set, it's not used.
Exactly: Here is the relevant code from make_filename:
if (first_part[1] == '/' || !first_part[1])
{
/* This is the "~/" or "~" case. */
home = getenv("HOME");
if (!home)
home = home_buffer = get_pwdir (xmode, NULL);
Salam-Shalom,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20161110/69f7bb71/attachment.sig>
More information about the pkg-gnupg-maint
mailing list