mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Fix a W32 problem
This commit is contained in:
parent
91272a546f
commit
7956620485
8 changed files with 31 additions and 8 deletions
|
@ -1153,6 +1153,19 @@ xtryasprintf (const char *fmt, ...)
|
|||
}
|
||||
|
||||
|
||||
char *
|
||||
xtryvasprintf (const char *fmt, va_list arg_ptr)
|
||||
{
|
||||
int rc;
|
||||
char *buf;
|
||||
|
||||
rc = estream_vasprintf (&buf, fmt, arg_ptr);
|
||||
if (rc < 0)
|
||||
return NULL;
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
||||
/****************************************************
|
||||
******** locale insensitive ctype functions ********
|
||||
****************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue