mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* configure.ac: Remove the check for asprintf
* app-common.h (app_openpgp_storekey: Add prototype. * app-openpgp.c (do_sign): Replace asprintf by direct allocation. This avoids problems with missing vasprintf implementations. * card-util.c (generate_card_keys): Add a #warning for gnupg 1.9 and use the same string there. * util.h [!HAVE_VASPRINTF]: Removed prototype. * vasprintf.c: Removed. It was used only at one place and I don't want to get into build problems in 1.4.
This commit is contained in:
parent
107e515aa9
commit
0ebf79c824
12 changed files with 47 additions and 183 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-10-21 Werner Koch <wk@g10code.com>
|
||||
|
||||
* util.h [!HAVE_VASPRINTF]: Removed prototype.
|
||||
|
||||
2004-10-15 Werner Koch <wk@g10code.com>
|
||||
|
||||
* util.h [!HAVE_VASPRINTF]: Add asprintf prototype.
|
||||
|
|
|
@ -245,15 +245,6 @@ int asprintf (char **buf, const char *fmt, ...);
|
|||
|
||||
/*-- Replacement functions from funcname.c --*/
|
||||
|
||||
#if !HAVE_VASPRINTF
|
||||
int asprintf (char **result, const char *format, ...)
|
||||
#if defined (__riscos__) \
|
||||
|| (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 ))
|
||||
__attribute__ ((format (printf,2,3)))
|
||||
#endif
|
||||
;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/******** some macros ************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue