mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Switch to the libgpg-error provided estream.
* configure.ac (NEED_GPG_ERROR_VERSION): Reguire 1.14. (GPGRT_ENABLE_ES_MACROS): Define. (estream_INIT): Remove. * m4/estream.m4: Remove. * common/estream-printf.c, common/estream-printf.h: Remove. * common/estream.c, common/estream.h: Remove. * common/init.c (_init_common_subsystems): Call gpgrt initialization.
This commit is contained in:
parent
a731c22952
commit
519305feb8
38 changed files with 93 additions and 7134 deletions
|
@ -648,7 +648,7 @@ tty_getf (const char *promptfmt, ... )
|
|||
char *answer;
|
||||
|
||||
va_start (arg_ptr, promptfmt);
|
||||
if (estream_vasprintf (&prompt, promptfmt, arg_ptr) < 0)
|
||||
if (gpgrt_vasprintf (&prompt, promptfmt, arg_ptr) < 0)
|
||||
log_fatal ("estream_vasprintf failed: %s\n", strerror (errno));
|
||||
va_end (arg_ptr);
|
||||
answer = tty_get (prompt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue