1
0
Fork 0
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:
Werner Koch 2009-09-03 15:27:30 +00:00
parent 91272a546f
commit 7956620485
8 changed files with 31 additions and 8 deletions

View file

@ -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 ********
****************************************************/