aboutsummaryrefslogtreecommitdiffstats
path: root/src/vasprintf.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-02-02core: Replace all calls to *sprintf by gpgrt_*sprintf.Werner Koch1-206/+0
* configure.ac (vasprintf): Remove check. * src/vasprintf.c: Remove file. * src/util.h (vasprintf, asprintf): Remove prototypes. Replace all calls to vasprintf and asprintf by gpgrt_vasprintf or gpgrt_asprintf. Also take care to use gpgrt_free on the returned value. * src/w32-util.c (_gpgme_get_gpgconf_path): Replace a gpgrt_asprintf by _gpgme_strconcat. (snprintf): New macro to use gpgrt_snprintf instead of the system's standard snprintf. Signed-off-by: Werner Koch <[email protected]>
2012-09-25Remove all trailing whitespace from source filesWerner Koch1-3/+3
-- Command used: sed -i 's,[ \t]*$,,' FILE
2010-11-172010-11-17 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+14
* vasprintf.c (int_vasprintf) [HAVE_W32CE_SYSTEM]: Just use a fixed size buffer, as va_copy is not easy to fake.
2008-11-03008-11-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+0
* configure.ac: Replace gpgme paths with src. * gpgme: Move to ... * src: ... this new directory. assuan/ 2008-11-03 Marcus Brinkmann <[email protected]> * Makefile.am (INCLUDES): Replace gpgme path with src. tests/ 2008-11-03 Marcus Brinkmann <[email protected]> * gpgsm/Makefile.am (INCLUDES, LDADD): Replace gpgme path with src. * gpg/Makefile.am (INCLUDES, LDADD, t_thread1_LDADD): Likewise. * Makefile.am (LDADD): Likewise.
2003-11-13Silly me: Reverted last change. The code here is actually okay butWerner Koch1-4/+4
when driving the one for gnupg, the bug was probably introduced.
2003-11-13(int_vasprintf): ARGS should not be a pointer.Werner Koch1-5/+5
2002-08-29* vasprintf.c (va_copy): Define macro if not yet defined.Werner Koch1-1/+1
2002-08-292002-08-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+14
* passphrase.c (_gpgme_passphrase_status_handler): Reset CTX->result.passphrase->no_passphrase if passphrase is given (good or bad). Submitted by Jean DIRAISON <[email protected]>.
2002-08-20* vasprintf.c (int_vasprintf): Hack to handle NULL passed for %s.Werner Koch1-1/+7
2002-07-252002-07-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-4/+23
* Makefile.am (libgpgme_la_LDADD): Add @LIBOBJS@ for vasprintf and fopencookie. * vasprintf.c: Update to more recent libiberty version. * debug.h: Replace #elsif with #elif. Submitted by St�phane Corth�sy: * util.h (vasprintf): Correct prototype. * encrypt-sign.c: Include <stddef.h>. (encrypt_sign_status_handler): Change type of ENCRYPT_INFO_LEN to size_t. * ath-pthread.c: Include <stdlib.h>, not <malloc.h>. * ath-pth.c: Likewise.
2002-02-13* vasprintf.c, fopencookie.c: Add replacement functions.Werner Koch1-0/+155
* util.h: Add prototypes for them.