mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Implement tilde expansion in the same was as 1.4.
This commit is contained in:
parent
f816bdb381
commit
5134fee5b0
5 changed files with 300 additions and 46 deletions
|
@ -56,7 +56,10 @@ gcry_xmalloc (size_t n)
|
|||
char *
|
||||
gcry_strdup (const char *string)
|
||||
{
|
||||
return malloc (strlen (string)+1);
|
||||
char *p = malloc (strlen (string)+1);
|
||||
if (p)
|
||||
strcpy (p, string);
|
||||
return p;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue