mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-25 15:27:03 +01:00
2003-09-28 Timo Schulz <twoaday@freakmail.de>
* strgutil.c [WIN32] (asprintf): New.
This commit is contained in:
parent
7c637a098e
commit
024bc22231
@ -1,3 +1,7 @@
|
||||
2003-09-28 Timo Schulz <twoaday@freakmail.de>
|
||||
|
||||
* strgutil.c [WIN32] (asprintf): New.
|
||||
|
||||
2003-09-28 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* ttyio.c (tty_fprintf): New.
|
||||
|
@ -954,4 +954,16 @@ vasprintf ( char **result, const char *format, va_list args)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
asprintf (char **buf, const char *fmt, ...)
|
||||
{
|
||||
int status;
|
||||
va_list ap;
|
||||
|
||||
va_start (ap, fmt);
|
||||
status = vasprintf (buf, fmt, ap);
|
||||
va_end (ap);
|
||||
return status;
|
||||
}
|
||||
|
||||
#endif /*_WIN32*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user