mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* xreadline.c: New. Based on the iobuf_read_line function.
* no-libgcrypt.c (gcry_realloc, gcry_xmalloc, gcry_xcalloc): New. * gpgconf-comp.c (retrieve_options_from_program) (retrieve_options_from_file, change_options_file) (change_options_program, gc_component_change_options): Replaced getline by read_line and test for allocation failure.
This commit is contained in:
parent
5836ea925a
commit
feb40e2c6e
7 changed files with 183 additions and 36 deletions
|
@ -99,6 +99,11 @@ int answer_is_yes (const char *s);
|
|||
int answer_is_yes_no_default (const char *s, int def_answer);
|
||||
int answer_is_yes_no_quit (const char *s);
|
||||
|
||||
/*-- xreadline.c --*/
|
||||
ssize_t read_line (FILE *fp,
|
||||
char **addr_of_buffer, size_t *length_of_buffer,
|
||||
size_t *max_length);
|
||||
|
||||
|
||||
/*-- b64enc.c --*/
|
||||
struct b64state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue