aboutsummaryrefslogtreecommitdiffstats
path: root/common/estream-printf.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* estream: Fix unclean usage of realloc.Werner Koch2012-01-201-13/+29
| | | | | | | | | | | | | | | | * common/estream-printf.c (_ESTREAM_PRINTF_MALLOC): Remove. (_ESTREAM_PRINTF_FREE): Remove. (_ESTREAM_PRINTF_REALLOC): New. (fixed_realloc) [!_ESTREAM_PRINTF_REALLOC]): New. (estream_vasprintf): Use my_printf_realloc instead of my_printf_malloc and my_printf_free. (dynamic_buffer_out): Use my_printf_realloc instead of realloc. -- This bug will never happen in current GnuPG/Libgcrypt because we use the standard memory allocation functions via Libgcrypt. However, when used in other environments it would mess up the heap for an asprintf with an output length larger than ~512 bytes.
* estream: Avoid printing leading zeroes by %p on 32 bit systems.Werner Koch2012-01-111-1/+1
| | | | | * common/estream-printf.c (pr_pointer): Synchronize definition of AULONG with its use.
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-96/+94
| | | | | | | | We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
* First steps towards the W32CE portWerner Koch2010-03-021-6/+57
|
* Update estream.Werner Koch2009-09-031-338/+16
|
* Fix a bug in estream_snprintf. Found by a failed t-gettime under Windows.Werner Koch2008-10-191-10/+40
|
* Updated estream.Werner Koch2007-08-221-3/+1
| | | | | More changes for Windows.
* Removed unportable testing code. Werner Koch2007-08-011-135/+77
|
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* Fixed a problem in estream-printf.c.Werner Koch2007-06-251-16/+19
| | | | | Changes for Windows (gpgsm -k does now work). Minor cleanups.
* Adjusted symbols for printf and updated to latest version.Werner Koch2007-05-151-12/+12
|
* Use estream_asprintf instead of the GNU asprintf.Werner Koch2007-05-151-0/+2139